Re: Email with attachments coming through damaged
| From: | Manuel Lemos | Date: | Thu, 25 Mar 2004 02:27:50 +0000 |
| Subject: | Re: Email with attachments coming through damaged | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-23265@lists.php.net to get a copy of this message | ||
Hello,
On 03/24/2004 05:22 PM, Ron Herhuth wrote:
I'm trying to send an attachment via email using the following function, but it keeps coming through damaged. I am having no trouble emailing the same attachment using OutLook. Is there something wrong with the function I'm using? The attachment shows up and I'm not getting any errors, but it just won't open up in Acrobat.This is probably a bug in the mail() function. You may want to try this class to compose and send messages with attachements. It comes with simple examples on how to do it: http://www.phpclasses.org/mimemessage -- Regards, Manuel Lemos PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ PHP Reviews - Reviews of PHP books and other products http://www.phpclasses.org/reviews/ Metastorage - Data object relational mapping layer generator http://www.meta-language.net/metastorage.html