Friday, July 31, 2009

C# Outlook 2003 Add-In and Microsoft Exchange not playing well together?

Using VSTO, I have a button on the "Create New Message" explorer that retrieves all the information of that particular email and sends it to a database via a webmethod.





Using a simple SMTP server set up, this will retrieve the "From" address (the sender):





from = email.Session.CurrentUser.AddressEntry.A...





but that doesn't work if the user is using a Microsoft Exchange email account. I have absolutely NO idea how to get the email address...





Any help would be greatly appreciated.

C# Outlook 2003 Add-In and Microsoft Exchange not playing well together?
Search on internet.I'm sure you find it


No comments:

Post a Comment