Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Add-ins for Outlook (http://www.outlookbanter.com/add-ins-outlook/)
-   -   Outlook Account Management API (http://www.outlookbanter.com/add-ins-outlook/16979-outlook-account-management-api.html)

Rom June 6th 06 04:24 PM

Outlook Account Management API
 
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/Acc...umAccounts.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é




Dmitry Streblechenko June 6th 06 07:33 PM

Outlook Account Management API
 
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

"Rom" wrote in message
...
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/Acc...umAccounts.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é






Rom June 8th 06 04:54 PM

Outlook Account Management API
 
Thanks for the tip, my program is now working well !

"Dmitry Streblechenko" a écrit dans le message de news:
...
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

"Rom" wrote in message
...
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/Acc...umAccounts.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é









All times are GMT +1. The time now is 11:38 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com