Thursday, August 19, 2010

An email is to be displayed properly in HTML format but at times, it will become plain text format. Why?

This email is auto-generated by a system, written in Perl (X-Mailer:Perl+Mail::Sender 0.7.10 by Jan Krynicky). Suppose to display nicely with its background and click buttons, but sometimes, the email will be shown as text, with all the HTML codes. Is it due to email server or email client? The email client is a MS Outlook 2003 SP2 and NOT configured to open received messages in plain text format only. Anyone can advise? Thanks in advance :)

An email is to be displayed properly in HTML format but at times, it will become plain text format. Why?
HTML can be a bit tricky. Even if there is a single tag which has not been closed properly, the rest of the page will get messed up and you'll see HTML code instead of formatted text. Make sure that the program sending the email is not inserting anything extra in the beginning of the email. Also, make sure that all tags are being closed: for every %26lt;tag%26gt;, there should be a %26lt;/tag%26gt;.





Good Luck!


No comments:

Post a Comment