How are you creating named MAPI properties using C#? CDO 1.21 and Extended MAPI aren't supported for use in .NET code.
You can add an X-header to the items. Inside the EX organization it will remain as a named property and it will get converted into an X-header when the item is sent outside the organization.
You can use something like: GetIDsFromNames("{00020386-0000-0000-C000-000000000046}", "x-test-header") || 0x1E;
That creates an X-header named "x-test-header".
I took that from the example on the Redemption Web site for creating an X-header.
-- 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
"PS" <pratikrshah[ at ]gmail.com> wrote in message news:1178890057.670939.248710[ at ]q75g2000hsh.googlegroups.com...
[Quoted Text] > hey all > > I have this issue which i really need some help on. > > I have a Outlook Addin (programmed in C# and using VSTO) and what it > is does is creates a dropdown on each inspector (mailitems only) with > values in the dropdowns such as AAA and BBB (for example) > > Bases on the business logic I stamp this value in an named (custom) > MAPI property (which I created lets say "x-classification") when the > email is sent. > > Since the emails are open with my same organization - the reciever > when opens the email reads the same named property and does whatever > action it needs to do. > > THE ISSUE I HAVE NOW is that since this is a custom named MAPI > property - the value which I stamp is not available on the Standard > Mime Headers when going to outside recipients (since all the extended > MAPI properties are stripped by then). > > Can anybody please tell me which property (I am assuming standard > MAPI) can i use to stamp the value in so that it is available on SMIME > headers. > > We have a app in the downstream which acts on the SMIME headers and > does the necessary action. > > I would really appreciate any help on this !!!! > > Thanks >
|