![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
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 ![]() easily see how to do this. Any help or pointers so other examples would be greatly appreciated. Cheers Peter Lock Palace Software |
Ads |
#2
|
|||
|
|||
![]()
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" wrote in message ... 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 ![]() can't easily see how to do this. Any help or pointers so other examples would be greatly appreciated. Cheers Peter Lock Palace Software |
#3
|
|||
|
|||
![]()
Hi Ken
Thank you for that. I thought I might have to dig out my old C++ books:-) Cheers Peter "Ken Slovak - [MVP - Outlook]" wrote in message ... 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" wrote in message ... 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 ![]() can't easily see how to do this. Any help or pointers so other examples would be greatly appreciated. Cheers Peter Lock Palace Software |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Marking Mail as Read | [email protected] | Outlook - General Queries | 2 | July 18th 06 02:32 PM |
Marking Mail as Read | Brian | Outlook - General Queries | 1 | June 9th 06 07:21 AM |
Marking Contacts as Private | TSCAndrew | Outlook - Using Contacts | 2 | March 17th 06 02:41 PM |
Marking as do not archive | Michael Bauer | Outlook and VBA | 1 | March 2nd 06 05:14 PM |
OE freeze when marking newsgroups catch up | tentai | Outlook Express | 5 | January 9th 06 07:20 AM |