server name of MAPI account
how can I find out the server name of a 开发者_如何转开发MAPI account for Microsoft Exchange Server? Thank you!
- Under Outlook 2010, read the
PR_EMSMDB_SECTION_UID
property. If the property is missing or if using an older version of Outlook, assumepbGlobalProfileSectionGuid
. - Use the GUID from (1) to call
IMAPISession.OpenProfileSection()
. - Read
PR_PROFILE_HOME_SERVER
property from theIProfSect
object returned from (2)
You can play with this in OutlookSpy (I am its author) - click IMsgStore and IMAPISession.
精彩评论