Hi, I am trying to retrieve the exchange server name for the configured profile in the outlook. I am using IOlkAccountManager interface (and related ones). For exchange server name, it shows in the form 00000002Server01/o=Company123/ou=First Administrative Group/cn=Recipients/cn=ashutoshMicrosoft Exchange Server Even Outlook spy shows the exchange server names like this. For POP and IMAP servers the name can be retrieved easily. Is there any SIMPLE way or what is the simplest way to get the DNS name of the exchange server ?? Regards, Ashutosh
Have you looked at the profile data (click IMAPISession | AdminServices in OutlookSpy). Read the PR_PROFILE_SERVER_DN property from teh corresponding IProfSect. -- Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool - "Ashutosh" <smbs_user@nospam.nospam> wrote in message news:%23liIfWSoIHA.5836@TK2MSFTNGP04.phx.gbl... > Hi, > I am trying to retrieve the exchange server name for the configured > profile in the outlook. > > I am using IOlkAccountManager interface (and related ones). For exchange > server name, it shows in the form > > 00000002Server01/o=Company123/ou=First Administrative > Group/cn=Recipients/cn=ashutoshMicrosoft Exchange Server > > Even Outlook spy shows the exchange server names like this. > > For POP and IMAP servers the name can be retrieved easily. > > Is there any SIMPLE way or what is the simplest way to get the DNS name of > the exchange server ?? > > Regards, > Ashutosh
Hi, I tried finding that property, but seems that it doesn't exist. I have checked it in outlook Spy only. Is it missing in outlook spy??? Also, can you/someone please tell me how to retrieve the email ID for which the exchange account is configured? Regards, Ashutosh Dmitry Streblechenko wrote: > Have you looked at the profile data (click IMAPISession | AdminServices in > OutlookSpy). > Read the PR_PROFILE_SERVER_DN property from teh corresponding IProfSect. "Ashutosh" <smbs_user@nospam.nospam> wrote in message news:%23liIfWSoIHA.5836@TK2MSFTNGP04.phx.gbl... > > Hi, > > I am trying to retrieve the exchange server name for the configured > > profile in the outlook. > > > > I am using IOlkAccountManager interface (and related ones). For exchange > > server name, it shows in the form > > > > 00000002Server01/o=Company123/ou=First Administrative > > Group/cn=Recipients/cn=ashutoshMicrosoft Exchange Server > > > > Even Outlook spy shows the exchange server names like this. > > > > For POP and IMAP servers the name can be retrieved easily. > > > > Is there any SIMPLE way or what is the simplest way to get the DNS name of > > the exchange server ?? > > > > Regards, > > Ashutosh
Where did you look? Did you open the global profile section? -- Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool - "Ashutosh" <smbs-msdn@nospam.nospam> wrote in message news:OTIKSkLwIHA.2188@TK2MSFTNGP04.phx.gbl... > Hi, > I tried finding that property, but seems that it doesn't exist. I have > checked it in outlook Spy only. Is it missing in outlook spy??? > > Also, can you/someone please tell me how to retrieve the email ID for > which the exchange account is configured? > > Regards, > Ashutosh > > Dmitry Streblechenko wrote: >> Have you looked at the profile data (click IMAPISession | AdminServices >> in OutlookSpy). >> Read the PR_PROFILE_SERVER_DN property from teh corresponding IProfSect. > > "Ashutosh" <smbs_user@nospam.nospam> wrote in message > news:%23liIfWSoIHA.5836@TK2MSFTNGP04.phx.gbl... > > > Hi, > > > I am trying to retrieve the exchange server name for the configured > > > profile in the outlook. > > > > > > I am using IOlkAccountManager interface (and related ones). For > exchange > > > server name, it shows in the form > > > > > > 00000002Server01/o=Company123/ou=First Administrative > > > Group/cn=Recipients/cn=ashutoshMicrosoft Exchange Server > > > > > > Even Outlook spy shows the exchange server names like this. > > > > > > For POP and IMAP servers the name can be retrieved easily. > > > > > > Is there any SIMPLE way or what is the simplest way to get the DNS > name of > > > the exchange server ?? > > > > > > Regards, > > > Ashutosh >
Thanks! I got everything I was looking for :) Dmitry Streblechenko wrote: > Where did you look? > Did you open the global profile section? >