Forum Moderators: open

Message Too Old, No Replies

HTML Email - Why would Outlook display the markup and not render it?

         

brucec

3:25 pm on Oct 4, 2004 (gmt 0)

10+ Year Member



My boss wants me to send out an HTML email to his mailing list. They opted in.

On his own Outlook, he sees the HTML code, not the rendered web page. I use a Content-Type attribute of "text/html" in the meta tags, but it still does not work.

I see it fine from a web based email program, but he cannot view it in his MS Outlook.

Does anybody have a suggestion on how to fix this?

brucec

3:26 pm on Oct 4, 2004 (gmt 0)

10+ Year Member



Let me add to the issue by saying that he is able to view other HTML emails sent by other people with no problem. So, it is not his Outlook that is the problem.

coopster

6:23 pm on Oct 4, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



>>I use a Content-Type attribute...

Has this email been sent via a scripting language and you are controlling the headers? If so, it sounds like a malformed header.

brucec

6:47 pm on Oct 4, 2004 (gmt 0)

10+ Year Member



Thanks Coopster. How what is a valid header to make this work properly?

coopster

9:50 pm on Oct 4, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



It depends on what all you are sending (multipart, etc), but as a bare minimum, you may want to send out something like
MIME-Version: 1.0 
Content-type: text/html; charset=iso-8859-1

kaled

10:31 pm on Oct 4, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Why not read the header of a HTML email that renders correctly and copy the relevant fields?

Simply right-click the mail and select 'properties' - I think that's right.

Kaled.