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
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php