Changing Format of all messages to text in Exchabge server 2010

Hello Folks,

i have an exchange server 2010, i want to change the format of the messages to text.

i am using currently the RoutingAgent class and trying to change the format through the MIME document, i am not sure if i am in the right direction!

but how i can change in the MIME Document and keeping it valid for the other steps and processes in the exchange server?

if you have an example it would be great.

also if you would suggest a new approach you are welcome?

Thanks in advance,

Jamil Isayyed

April 27th, 2015 2:14am

>> i have an exchange server 2010, i want to change the format of the messages to text.

For what purpose ? Are you trying to do this for any message ? Messages that are sent Internally are going to be in TNEF so your going to have to use the TNEFReaders and Writers to modify the TNEF stream http://blogs.msdn.com/b/mstehle/archive/2009/01/13/howto-sample-transport-agent-add-headers-categories-mapi-props-even-uses-a-fork.aspx

If you don't have to worry about Internal message and only need it for messages being sent to an external domains generally the OnCategorizedMessage is the best event to use as any server content conversion would have occurred (eg TNEF to MIME) and it should be eaiser to modify the message at that point a good example would be https://github.com/Pro/dkim-exchange/blob/master/Src/Exchange.DkimSigner/DkimSigningRoutingAgent.cs  (If you have the Edge roll deployed then use the SMTPAgent and deploy it on your edge server).

Cheers
Glen

Free Windows Admin Tool Kit Click here and download it now
April 28th, 2015 12:36am

Thanks for your response,

I am trying to change the format of the internal messages, i already implemented the transport agent which takes care of the external messages.

i have been searching for resources about how to change the content type for internal messages, especially through the tnef readers and writers but without success.

so if you have a helpful resource  i can check it, it will be perfect.

Thanks

Jamil Isayyed


April 28th, 2015 12:03pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics