TomLenen
asked on
Simple MAPI
Hi all,
I am attempting to create a simple application that will read my email messages and display some info about them. The thing I am having trouble with is displaying the general info. Here is some code:
MError := MAPIReadMail(MAPISession, 0, @sMessageID, MAPI_ENVELOPE_ONLY, 0, lppMapiMessage);
Now 'lppMapiMessage.lpRecips.l pszAddress ' should hold the senders email adress and 'lppMapiMessage.lpRecips.l pszName' should hold the senders name. But it holds my OWN email adress and my own name. Could anyone tell me what I am doing wrong please. Thank you!
Sincerely, Tom
I am attempting to create a simple application that will read my email messages and display some info about them. The thing I am having trouble with is displaying the general info. Here is some code:
MError := MAPIReadMail(MAPISession, 0, @sMessageID, MAPI_ENVELOPE_ONLY, 0, lppMapiMessage);
Now 'lppMapiMessage.lpRecips.l
Sincerely, Tom
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.