Discussion Locked

EMails in plain text instead of HTML

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am a developer and I support an application that sends out emails to approx. 900 subscribers everyday. The emails contain article titles and briefs, and the subscribers can click the links to go to the web and read the full articles. It is an ASP application on NT (v4 svc pack 6a) using CDONTS to send the mail. We use Exchange Server 5.5 on NT, and our clients are Outlook 2000. From the web server (IIS v4), the mail is sent to a "hub" Exchange server that does load balancing and forwards it to the least busy Exchange Server for processing.

The ASP code sets the MailFormat and BodyFormat to 0, so the emails should be in HTML format. However, on somedays and to some subscribers, the emails are in plain text format. Two people can have the same content on the same day, and one sees it in HTML, the other in plain text. The same person can receive HTML format one day, and plain text the next.

My Exchange support is telling me the problem is the application, but I can't see anything in the application that would cause the on-again-off-again format issue. I believe the problem is on a server. Any ideas?

5 replies

by rcc

I would bet the problem is on one of the exchange servers.
Ask your Exchange admin if any of his connectors (IMC) or recipients have the CONVERT TO PLAIN TEXT forced. Having two servers, one set not to convert the messages and the other set to convert them explains the anomally entirely. ASK HIM. The problem is at his end FOR SURE.
Regards,
Radu

by rcc

The easiest way to indentify the server-problem is to have a look at the plain-text message header at the recipient's end.

by goincrazy

I have looked at the message headers, and on the same day, the same server sends both HTML format and plain-text. So, I would think this rules out a server setting issue?

Some days 2 emails go out, and the same recipient gets HTML one time andplain text the next. I would think this rules out a setting on the recipients end?

I have checked the properties. The "content-type" for the first part of both formats is "text/plain". The difference seems to be in the "content-transfer-encoding" parameter. For the first part of the "multi-part message" it is "7bit" for the HTML, and "quoted-printable" for the plain text. In the plain text, that is the only "part". The HTML has another part, with "content-type"="text/html" and "content-transfer-endcoding"="quoted-printable".

So, I think the question is, "What would cause the "content-transfer-encoding" parameter of the plain text to be "quoted-printable" rather than "7bit"?" Am I on the right track?
*****************************
Here is the end of the properties from a plain text:

This is a multi-part message in MIME format.

------=_NextPart_000_1B03_01C0AC6E.8B8ABFC0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
**************************
Here is the end of the properties from an HTML format:

This is a multi-part message in MIME format.

------=_NextPart_000_32A0_01C0A884.08063D70
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

------=_NextPart_000_32A0_01C0A884.08063D70
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

------=_NextPart_000_32A0_01C0A884.08063D70--

by goincrazy

It looks like it's caused by a problem with the IMC. When there is a period followed by a break, the IMC interprets that as the end of the message.

This discussion is closed to new replies.