Outlook Account Management API

R

Rom

Hi,
I'm trying to get some Outlook 11 (included in Office 2003) Account
informations with the Outlook Account Management API. I've downloaded a
sample sourcecode at
http://flygar.members.winisp.net/AccountMgmt/EnumAccounts.zip, And I've
modified it to get all IOlkAccount property, ie PROP_ACCT_ID,
PROP_ACCT_IS_EXCH, PROP_ACCT_NAME, PROP_ACCT_SEND_STAMP, PROP_ACCT_STAMP and
PROP_ACCT_USER_DISPLAY_NAME.
The fact is that I can't get the smtp server address, information I need.
Thus, I wonder if it is possible with this API, and in the contrary case, if
you know an API I can use to.

thanks for your replies and sorry for my probably poor english.

Romain Quéré
 
D

Dmitry Streblechenko

Yes, it is possible - it is just MS did not document the tag for the SMTP
address. It is 0x000C001F.
You can see it in OutlookSpy (click Misc | IOlkAccountManager).

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