Jump to content

email Content-Type: multipart/alternative;


michaellunsford

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!
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.