I'm developing an Outlook Add-in with VSTO (C#).
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
What version or versions of Outlook are you supporting?
You can't use the Outlook object model for that. You'd have to use an
alternate API. However, CDO 1.21 and Extended MAPI aren't supported for .NET
use and Extended MAPI is C++ or Delphi only anyway.
See http://www.outlookcode.com/threads.aspx?forumid=5&messageid=18752 for
some additional information and links to getting the SMTP address from the
Exchange distinguished name.

Signature
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
> I'm developing an Outlook Add-in with VSTO (C#).
> When I try to get the email address of the current user, I retrieve a
[quoted text clipped - 7 lines]
>
> Noro