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

EMP picture EMP · May 13, 2009 · Viewed 9.3k times · Source

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>

Answer

great_llama picture great_llama · May 13, 2009

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