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
 

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

Back
Top