What is wrong with this code to read email messages? RRS feed

  • Question

  • http://support.microsoft.com/kb/140337

    err = MAPI_FindNext(lhSession, 0L, "IPM.Microsoft Mail.Note",
                        lpszSeedMessageID, 0L, 0L, lpszMessageID);

    This line returns MAPI_E_NO_MESSAGES even though there are hundreds of messages in my Outlook Inbox. 

    I need to get messages from Outlook 2003 that is connected to Microsoft Exchange Server 2003.

    100% Accurate Display Screen OCR http://www.OCR4Screen.com

    Tuesday, November 22, 2011 9:01 PM