Re: Email with attachment function
| From: | Manuel Lemos | Date: | Thu, 17 Jun 2004 14:09:29 +0000 |
| Subject: | Re: Email with attachment function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-188485@lists.php.net to get a copy of this message | ||
Hello,
On 06/17/2004 04:38 AM, Mark Cubitt wrote:
Hello, I'm trying to write a function that sends an email with an attachment using sendmail, But I can't seem to get it working, the code I currently have is below, Any ideas would be much appreciated. I'm probably doing something stupid as the output is what its meant to be except it isn't divided up (i.e. attachment is text)You may want to try this proven class and let me know if you still have problems: 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