Seeing a cutom value in Standard Mime Headers

P

PS

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
 
K

Ken Slovak - [MVP - Outlook]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top