Re: Problems send MIME multipart/alternative mail with php
| From: | Manuel Lemos | Date: | Wed, 20 Aug 2003 03:51:48 +0000 |
| Subject: | Re: Problems send MIME multipart/alternative mail with php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-160128@lists.php.net to get a copy of this message | ||
Hello,
On 08/19/2003 04:56 PM, Dan Van Derveer wrote:
I have had no success sending multipart/alternative emails with php. I have tried everyone's various code snippets with no luck. I test the results with Outlook and Outlook Express. Everytime my boundary tag ends up showing as part of my message and thus the plain text and html portions show up as one long blob of unformatted text. Below is the code I am currently using. Any suggestions would be greatly appreciated.That looks like a bug of the mail() function. You may want to try this class that provides an easy interface for composing and sending multipart/alternative MIME messages and has workarounds for some of the mail() function problems: http://www.phpclasses.org/mimemessage -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/