|
Posted by Manuel Lemos on 11/05/46 11:28
Hello,
on 10/02/2005 07:21 AM Toby Inkster said the following:
> Of course I could generate a unique boundary, use the base64_encode()
> function and do all the MIME-stuff myself, but I am trying to avoid
> re-inventing the wheel.
>
> Anyone know of a *good* PHP function for sending an e-mail with multiple
> attachments?
You may want to try this popular MIME message class. It lets you compose
messages with an arbitrary number of attachements, it lets you add an
attachement either from a file or from a string of data, it can
automatically detect the attachment file MIME type from the file name
extension, etc..
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
[Back to original message]
|