What is my email address?

J

JahMic

Seems like a silly question really, but I am unable to find out,
programmatically, which one of the recipients is 'me'. Yes, using
PR_RECIP_ME, I can find out if I am one of the recipients, so how can
I found out which 'account name' this one received upon.

Thanks, J
 
J

JahMic

C++, OOM is preferred except when security constraints are involved,
otherwise dropping down to Mapi is fine. Because of the security
warnings, most recipient handling is thus far in Mapi.

Thanks, J
 
D

Dmitry Streblechenko

OOM: Application.Session.CurrentUser.Address
Extended MAPI: IMAPISession::QueryIdentity (returns the entry if of
IMailUser). Call IMAPISession::OpenEntry (get back IMailUser), then
IMailUser::GetProps (or HrgetOneProp) to retrieve PR_EMAIL_ADDRESS.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top