How to retrieve SMTP address from an EXCHANGE address ?

N

Noro

Hi All,

When I try to get the email address of the current user, I retrieve a string
like this that represents the email address:

/o=ORGANIZATION/ou=Sede/cn=Recipients/cn=USERNAME

What can I do to retrieve the smtp address from this exchange address?

Thank you!

Noro
 
G

Guest

Woudl retiving the SMTP from AD surfice or do you need to interigate exhcnage?

Daniel Brown
 
N

Noro

I'm developing an Outlook Add-in with VSTO (C#).
When I try to get the email address of the current user, I use a line like :
string MailAddress = This.ActiveExplorer().Session.CurrentUser.Address;

I want to retreive the smtp email address using the instance of Outlook that
the VSTO project create automatically without having to access to AD.
It is possible ? otherwise how can i interogate exchange ?

Thanks in advance,
Noro
 

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