michaellunsford Posted June 9, 2006 Share Posted June 9, 2006 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!!!! ughhere are the email headers (minus the email addresses)[code]Subject: test messageMIME-Version: 1.0Content-Type: multipart/alternative; boundary="HTMLDEMO4489e3e866259"--HTMLDEMO4489e3e866259Content-Type: text/plainTESTING--HTMLDEMO4489e3e866259Content-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 messageMIME-Version: 1.0Content-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! Quote Link to comment https://forums.phpfreaks.com/topic/11616-email-content-type%C2%A0multipartalternative/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.