View Single Post
  #3  
Old November 23rd 07, 08:22 AM posted to microsoft.public.outlook.program_addins
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default Full email addres for mailItem.To



If the address is resolved it shows the display name, which you can
determine yourself. So, that might or might not be the name.

--
Best regards
Michael Bauer - MVP Outlook
Synchronize Color Categories & Ensure that Every Item Gets Categorized:
http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6

Am Thu, 22 Nov 2007 09:13:01 -0800 (PST) schrieb Johannes:

mailItem.To just gives you a string, if the addresses have been
resolved to a contact, Outlook shows the name there, not the address.
You need to work with the mailItem.Recipients collection to get the
email address.

Ads