VSTO add-in

D

Dinesh

hello everybody,

I need to create a button in outlook 2003.when i click that button i should
be possible to read the header information of that mail that can be displayed
somewhere in the outlook.Is this possible to do with VSTO 2005 in vb.net or
c# .net.so it possible to do this.

help me !!!

thank you.
 
K

Ken Slovak - [MVP - Outlook]

Do you mean the Internet mail headers (PR_TRANSPORT_MESSAGE_HEADERS)?

That's not exposed in the Outlook object model. In Outlook 2007 you can use
the PropertyAccessor object with property tag 0x007D001E to get at the
headers.

In earlier versions of Outlook you can use CDO 1.21 or Extended MAPI (both
not supported for managed code) or a MAPI wrapper such as Redemption
(www.dimastr.com/redemption). There are code samples for accessing that
property using CDO and Redemption at www.outlookcode.com and for Redemption
at the Redemption Web site.
 
Top