Jump to content

Archived

This topic is now archived and is closed to further replies.

michaellunsford

email Content-Type: multipart/alternative;

Recommended Posts

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)

[code]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>
[/code]

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

[code]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>
[/code]

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

Thanks!

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.