views:

1375

answers:

2

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>
A: 

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

great_llama
Thanks, but that didn't help. The email is still received as HTML. :(
Evgeny
A: 

A little more support on this identical issue if possible...

I've got the exact same issue only without the POP3/IMAP interface being the issue. It's all SMTP and whatever propriatary protocol OutlookXP uses to talk to Exchange 2010.

by removing the permissions from one box; i can do the following to send a plain text email! Viewable perfectly in OWA/Outlook Express/Outlook2003/Outlook2007 and Outlook2010 and on Blackberries and other such devices... NOT viewable on OutlookXP!

telnet mail.domain.LOCAL 25 helo mail.domain.LOCAL mail from: [email protected] rcpt to: [email protected] DATA Subject: Plain text email. Line 1 Line 2

test test test

Last line

.

Thoughs?

Simon Goodier