View Single Post
  #2  
Old September 1st 09, 03:04 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Get email address from MailItem.To?

Trap the item.Send() event and in that event save the item then read the
recipient properties you want.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Mark B" wrote in message
...
VSTO OL2007 C#

When I am sending an email, how do I extract the email address component
from the TO field?

MailItem.Recipients field doesn't have any objects in the list before
Outlook sends an item. MailItem.To just has address book names and not
email addresses.


Ads