I've written an email class that works fine when I use mail()

But now I have added support for mb_send_mail() and the boundary marker is
being displayed in the body of the email. Putting it back to mail() works
fine...

I'm doing all the header info myself (ie, mb_send_mail('', '', $body,
$headers))

This is the contents of $headers
----- START -----
X-Mailer: SEE-IT's PHP email_class (c)2001
Mime-Version: 1.0
Subject: Saturday Lotto - 2003-08-02 - $19m
Sensitivity: normal
Importance: normal
X-Message-Flag: 
Reply-By: 
Expiry-Date: 
To: Martin Towell <[EMAIL PROTECTED]>
From: Martin Towell <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Error-To: [EMAIL PROTECTED]
Cc: 
Bcc: 
Content-Type: multipart/mixed; boundary="f269fe8a8c57c93d707399ffb68beeb6"
----- END -----

And this is the $body
----- START -----
--f269fe8a8c57c93d707399ffb68beeb6
Content-Type: text/html

<html>
<body>
Test HTML text
</body>
</html>

--f269fe8a8c57c93d707399ffb68beeb6--
----- END -----

I thought I may have to use mb_encode_mimeheader() but that didn't seem to
work either :(

Anyone have any suggestions on where I may/am going wrong?

TIA
Martin

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to