Group:  Microsoft Outlook » microsoft.public.outlook.program_addins
Thread: Outlook Account Management API

Geek News

Outlook Account Management API
"Rom" <qromain[ at ]laposte.net> 6/6/2006 2:24:27 PM
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é



Re: Outlook Account Management API
"Dmitry Streblechenko" <dmitry[ at ]dimastr.com> 6/6/2006 5:33:14 PM
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" <qromain[ at ]laposte.net> wrote in message
news:%23GMe9SXiGHA.1612[ at ]TK2MSFTNGP04.phx.gbl...
[Quoted Text]
> 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é
>
>
>


Re: Outlook Account Management API
"Rom" <qromain[ at ]laposte.net> 6/8/2006 2:54:05 PM
Thanks for the tip, my program is now working well !

"Dmitry Streblechenko" <dmitry[ at ]dimastr.com> a écrit dans le message de news:
%23uwPy7YiGHA.1600[ at ]TK2MSFTNGP04.phx.gbl...
[Quoted Text]
> 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" <qromain[ at ]laposte.net> wrote in message
> news:%23GMe9SXiGHA.1612[ at ]TK2MSFTNGP04.phx.gbl...
>> 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é
>>
>>
>>
>
>


Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net