Well I got the email headers to quit printing; they were in the wrong
process.
Now, I can't get the email that the user receives to display the
'pretty' html. I have done it successfully with perl but am lost.
I'm doing something like this after my initial to from headers:
$body .= "MIME-Version: 1.0\n";
$body .= "Content-Type: multipart/mixed;
boundary=\"==Multipart_Boundary_xc75j85x\"\n";
$body .= "This is a multi-part message in MIME format.\n";
$body .= "--==Multipart_Boundary_xc75j85x\n";
$body .= "Content-Type: text/plain; charset=\"iso-8859-1\"\n";
$body .= "Content-Transfer-Encoding: 7bit\n";
$body .= "<!--\n";
// plain non html mail
$body .= "WHAT IS THIS?\n";
$body .= " If you are reading this, your email program\n";
$body .= " does not support this style of HTML email.\n";
$body .= " We have done our best to ensure that this\n";
$body .= " message displays properly for you, but not\n";
$body .= " every email program can be supported.\n";
$body .= " Please consider upgrading to an email program\n";
$body .= " that supports complex HTML.\n";
$body .= " Thank you.\n";
$body .= " -->\n";
$body .= " --==Multipart_Boundary_xc75j85x\n";
$body .= " Content-Type: text/html; charset=\"iso-8859-1\"\n";
$body .= " Content-Transfer-Encoding: 7bit \n";
(html stuff follows)
It won't work and I am screaming. So is my client. I've found
tutorials that proved useless online.
Anyone?
Community email addresses:
Post message: [email protected]
Subscribe: [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
List owner: [EMAIL PROTECTED]
Shortcut URL to this page:
http://groups.yahoo.com/group/php-list
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/php-list/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/