How to stop Exchange from automatically converting plain text emails to HTML?

江枫思渺然 提交于 2021-02-19 01:47:47

问题


I've set up an Exchange 2003 mailbox for emails that will be parsed by my code. The emails are sent as plain text and my code expects to receive them as plain text. However, it appears that Exchange is automatically converting them to HTML. How do I stop it from doing that and just receive the email the way it was sent?

The reason I believe it's Exchange doing the conversion is because the received email looks like this:

<HTML>
<HEAD>
  <META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
(then the actual contents, but with HTML markup)
</BODY>
</HTML>

回答1:


I think in the settings for the POP virtual server, there is an option for overriding the MIME encoding of the messages, where you can specify text, html, or both.

In Exchange System Manager:

Servers -> "YOUR SERVER" -> Protocols -> POP3 -> Virtual Server -> Properties -> Message Format tab




回答2:


Before setting up all the rules as per the next section, it is worth confirming this option on your Exchange server, if you have access.

Start the Exchange System Manager program.

Expand “Global Settings”, and then click “Internet Message Formats”.

In the right pane, double-click your Internet message formats object.

Now Click Advanced then Set Rich Text Editor Radio Button to Never. Press Ok.

I found the answer using:

http://help.affinitylive.com/setup/automatic-email-capture/exchange-2003/

Let us know if this fixes it.



来源:https://stackoverflow.com/questions/855926/how-to-stop-exchange-from-automatically-converting-plain-text-emails-to-html

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!