[Q]Using the MAPI
C / C++ / MFC
1
Posts
1
Posters
9
Views
1
Watching
-
I want to use MAPI32.DLL to send/receive email. First, I'm success to send e-mail by MAPISendMail function. (refernced by CDocument::OnFileSendMail()) But I fail to received the mail. I guess the receiving flow below. MAPILogon call(Session establish)->MAPIFindNext call(mail search)->MAPIReadMail(mail read)->MAPILogoff(session cut off)->MAPIFreeBuffer(message struct memory release) Well, I don't know this flow is right. Anyway, I'm success to call MAPILogon function. but second calling (MAPIFindNext) is failed (MAPI_E_FAILURE) Help me!