Get default outlook profile EMailID

  • Thread starter Thread starter Sanjay_S via OfficeKB.com
  • Start date Start date
S

Sanjay_S via OfficeKB.com

Hi

I have written an application in VC++ where in it has to get the email-Id of
outlook profile.. How to get this, is it posible through MAPI? please let
know some sample code

Thanks in advance

Sanjay
 
If you have a live MAPI session, use IMAPISession::QueryIdentity.
You might also want to look at IOlkAccountManager (Outlook 2002 and up).

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