Jump to content


Photo

email Content-Type: multipart/alternative;


  • Please log in to reply
No replies to this topic

#1 michaellunsford

michaellunsford
  • Members
  • PipPipPip
  • Advanced Member
  • 1,023 posts
  • LocationLouisiana, USA

Posted 09 June 2006 - 09:23 PM

I've tried this a thousand different ways. I've even copied verbatim an html email setup this way, and no matter what I do, I get a mime-attachment (which includes the message) inside the email instead of the message!!!! ugh

here are the email headers (minus the email addresses)

Subject: test message
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="HTMLDEMO4489e3e866259"

--HTMLDEMO4489e3e866259
Content-Type: text/plain

TESTING

--HTMLDEMO4489e3e866259
Content-Type: text/html
<html>
    <head>
        <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
        <title></title>
    </head>
    <body bgcolor="#ffffff">
        <H1>testing</H1>
    </body>
</html>

this is one that works -- but it doesn't have the multipart/alternative stuff:

Subject: test message
MIME-Version: 1.0
Content-Type: text/html;
    charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

<html>

    <head>
        <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
        <title></title>
    </head>

    <body bgcolor="#ffffff">
        <H1>testing</H1>
    </body>

</html>

I've given up solving this on my own. Any ideas?

Thanks!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users