Re: Email an attached file
| From: | Manuel Lemos | Date: | Wed, 28 May 2003 21:01:51 +0000 |
| Subject: | Re: Email an attached file | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-28135@lists.php.net to get a copy of this message | ||
Hello,
On 05/28/2003 03:08 PM, Marie Osypian wrote:
I am using something like this example code below to send e-mail and wondered if anyone could tell me how I could include a file also in this email if possible.You need to use multipart/mixed MIME composed messages. You may want to try this class that simplifies it for you. You can attach a file passing its file name or passing its data if you have already retrieved it to a string: http://www.phpclasses.org/mimemessage -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/