View Single Post
  #6  
Old September 3rd 09, 03:07 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?

In C# it would be mail1.Recipients[1].

--
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
...

"Error 7 'Microsoft.Office.Interop.Outlook.Recipients' does not contain a
definition for 'Item' and no extension method 'Item' accepting a first
argument of type 'Microsoft.Office.Interop.Outlook.Recipients' could be
found (are you missing a using directive or an assembly reference?)"


Ads