View Single Post
  #1  
Old October 14th 07, 10:15 PM posted to microsoft.public.outlook.program_addins
[email protected]
external usenet poster
 
Posts: 5
Default Issues with getting the Sender Name in email

Hi

I am developing a plugin using C#, VSTO 2005 and Outlook 2003.

I am trying to get the sender name (or email address) from myItem
object but apparently the value is always null for this. Is this a
known bug or am I doing something wrong in this.

myItem.SenderName or also myItem.SenderAddress

How do i get this?

I really didnt want to go this route - but also tried getting it from
MAPI property - PR_CREATOR_NAME - but that value is also null.

FYI - I am trying to capture this value during the MailItem_ItemSend
event.

Can anybody please give me some pointers as to why this is not
working.

Thanks

Ads