Re: Mailing Attachments (like csv file)
| From: | Manuel Lemos | Date: | Thu, 04 Nov 2004 15:16:37 +0000 |
| Subject: | Re: Mailing Attachments (like csv file) | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-37176@lists.php.net to get a copy of this message | ||
Hello,
On 11/04/2004 12:46 PM, Terri Slater wrote:
Does anyone know of a good php script to e-mail attachments, like a csv file? I want it to come across as an attachment so that it shows as one in the mail client.You may want to try this class that lets you compose and send messages with as many attachments as you want. Just take a look at the attachment sending example, and in the Content-Type attachment definition change from automatic/name to application/octet-stream . 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