> You can't use the Outlook object model to add an x-header, you would have
> to use a lower level API such as CDO 1.21 (optional installation and not
> supported in .NET code), Extended MAPI (C++ or Delphi only and not
> supported in .NET code) or a COM wrapper around MAPI like Redemption
> (www.dimastr.com/redemption).
>
> A CDO sample to create an x-header is shown in a custom form at
>
http://www.ivasoft.biz/addheader3.html.>
> --
> Ken Slovak
> [MVP - Outlook]
>
http://www.slovaktech.com> Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
> Reminder Manager, Extended Reminders, Attachment Options
>
http://www.slovaktech.com/products.htm>
>
> "Peter" <palace[ at ]internode.on.net> wrote in message
> news:eFseAvXVHHA.4796[ at ]TK2MSFTNGP05.phx.gbl...
>> Greetings
>>
>> I am a newbie so please be gentle:-)
>>
>> Am using OL2003, VSTO 2005SE with VS2005 (VB.NET)
>>
>> I have managed to create an addin using VSTO a toolbar with dropdown on a
>> new mail message that adds a security classification to the subject line
>> before the mail is sent. What I am also trying to do is add a custom
>> header (X-Protective-Marking:) to the mail message before it is sent. I
>> can't easily see how to do this.
>>
>> Any help or pointers so other examples would be greatly appreciated.
>>
>> Cheers
>> Peter Lock
>> Palace Software
>>
>