Disclaimer text in multipart message
I am using MS Exchange 2007. My application is sending multipart messages containing both plain text and html versions. One Transport rule is configured to add disclaimer text to all emails. The issue is that Exchange server discards my original plain text
part and regenerate plain text part from html version (after adding disclaimer text).
There is no issue if this transport rule is disabled.
Is there any way to instruct Exchange to add disclaimer text individually to each part instead of first adding in html part and then regenerate plain text part from html version?
September 16th, 2012 11:33pm
Hi
I dont think you can do that from hub transport rule. Because in hub transport rule, the Action is to apply an HTML disclaimer to the message.
For the disclaimer text, Exchange 2010 inserts disclaimers into e-mail messages by using the same message format as the original message. So if you would like to apply an HTML disclaimer, it will regenerate plain text part to html version.
For more information, you can have a view on below link
Understanding Disclaimers
http://technet.microsoft.com/en-us/library/bb124352.aspx
Transport Rule Actions
http://technet.microsoft.com/en-us/library/aa998315.aspx
Hope that helps
CheersZi Feng
TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
September 18th, 2012 4:19am
Hi Feng,
Thanks for your response.
I am using Exchange 2007 and my disclaimer is plain text. My email is multipart having plain text and html part. The problem is that Exchange server discards my original plain text part and replace it with text-version-of-html part+disclaimer.
My original message is
part 1 -
This is plain text
part 2 -
This is HTML
What user is receiving from Exchange is
part 1 -
This is HTML
Disclaimer text
part 2 -
This is HTML
Disclaimer text
My original "This is plain text" is gone.
Hope this will clarify my problem better.
September 18th, 2012 4:32am
Hi
Did you mean by when a user received the message, he got two Disclaimer text, and Part1 plain text had been replaced by Part2 HTML?
CheersZi Feng
TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
September 19th, 2012 3:34am
Yes. And Part 1 is plain text version of html part.
September 19th, 2012 3:37am
Hi
Could you please tell me how you create the Disclaimer, in Transport Rule Action?
Because in Customizing Disclaimers, I saw you can specify the following
The use of a separator between the disclaimer and the message body.
If you do a separator, I think that should work
CheersZi Feng
TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
September 20th, 2012 3:49am
Hi Zi,
The question is still unanswered. My transport rule is using The use of a separator between the disclaimer and the message body.
You can do following to recreate the issue.
1. Write a simple java/python program to send multipart part message having plain text and html part. For distinction use following in message
Plain text This is text version
Html This is HTML version
2. Enable the transport rule to add disclaimer text.
3. Verify at receiver end. Both plain text and html part contain message This is HTML version.
4. Now disable the transport rule add disclaimer text and send same email.
5. You will see that both parts are delivered intact.
i.e. Plain text This is text version
Html This is HTML version
For your ref I am attaching the relevant portion of email I used for testing.
Hope this will clarify my question in much better way.
Thanks
September 24th, 2012 3:43am
Hi,
I am having a similar issue. When I send properly formatted multipart mime messages the text part is destroyed and rendered from the html part.
This is what exchange does, and is wrong:
http://pastebin.com/nt27xjWK
This is what anything else does (example is gmail):
http://pastebin.com/vUckHZfa
Free Windows Admin Tool Kit Click here and download it now
October 26th, 2012 9:21am
Hi
Could you please tell me how you create the Disclaimer, in Transport Rule Action?
Because in Customizing Disclaimers, I saw you can specify the following
The use of a separator between the disclaimer and the message body.
If you do a separator, I think that should work
CheersZi Feng
TechNet Community Support
October 26th, 2012 12:53pm
Hi Zi,
The question is still unanswered. My transport rule is using The use of a separator between the disclaimer and the message body.
You can do following to recreate the issue.
1. Write a simple java/python program to send multipart part message having plain text and html part. For distinction use following in message
Plain text This is text version
Html This is HTML version
2. Enable the transport rule to add disclaimer text.
3. Verify at receiver end. Both plain text and html part contain message This is HTML version.
4. Now disable the transport rule add disclaimer text and send same email.
5. You will see that both parts are delivered intact.
i.e. Plain text This is text version
Html This is HTML version
For your ref I am attaching the relevant portion of email I used for testing.
Hope this will clarify my question in much better way.
Thanks
Free Windows Admin Tool Kit Click here and download it now
October 27th, 2012 6:11am