Re: File attachment to mail() doesn't work....
| From: | Manuel Lemos | Date: | Sat, 18 Oct 2003 05:34:43 +0000 |
| Subject: | Re: File attachment to mail() doesn't work.... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-166602@lists.php.net to get a copy of this message | ||
Hello,
On 10/17/2003 08:13 PM, Scott Fletcher wrote:
That looks like one of those mail() function bugs. You may want to try this class that has workarounds for such bugs and provides an easy way to compose and send messages with attachments. http://www.phpclasses.org/mimemessage -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/I already whipped up the script to get the PHP mail() to send an emailwith body text, along with the file attachment. Still haven't got this to work right. If I omit out the attachment feature then the mail() work successfully and I receive an email with body message successfully. But with attachment, I'm able to get the mail to be send successfully but I receive email without body text and without attachment. I have been looking around on the Internet for guidance and tweak my php script, but so far no luck. So, can anyone look into it and correct it for me?