Re: attachements in mail()
| From: | Manuel Lemos | Date: | Thu, 01 Aug 2002 20:43:04 +0000 |
| Subject: | Re: attachements in mail() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-110740@lists.php.net to get a copy of this message | ||
Hello,
On 08/01/2002 03:14 PM, Danny Wall wrote:
I've looked, and can not find out how you send attachments using the mail() function. I find it difficult to believe that this was left out, so obviously I'm missing something right in front of my face. So my question is, how do you send attachments using the mail() fucntion?Try this class as it does exactly what you want and probably more. Besides attachments (multipart/mixed), it is also capable of sending multipart/related messages to let you compose HTML messages with images and other embedded files, and multipart/alternative to let you compose messages with alternative text and HTML versions in the same message body. http://www.phpclasses.org/mimemessage -- Regards, Manuel Lemos