Get Active MAPI Profile

G

Graham Smith

Hi.

what is the best way to find out what MAPI Profile is currently used?

Thanks again
Graham
 
D

Dmitry Streblechenko

Extended MAPI: IMAPISession::OpenProfileSection(pbGlobalProfileSectionGuid,
....), then read PR_PROFILE_NAME from the returned IProfSect
CDO 1.21: Session.Name
OOM: can't do that, but <plug>you can use Redemption (url below) - see
MAPIUtils.GetCurrentProfileName and RDOSession.ProfileName</plug>

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