Re: e-mailing with attachements
| From: | Ernest E Vogelsinger | Date: | Thu, 29 May 2003 21:25:24 +0000 |
| Subject: | Re: e-mailing with attachements | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-149492@lists.php.net to get a copy of this message | ||
At 23:20 29.05.2003, Artoo Smith said:
--------------------[snip]--------------------
>How do you send attachments when sending e-mail uisng the mail() command?
--------------------[snip]--------------------
If you want to use the builtin mail() function you gotta construct the
complete MIME compliant message, including all headers, yourself. For more
information on MIME you should consult RFC822.
Do yourself a favour and check out the relevant PEAR classes (Mail/Mime and
Mail). http://pear.php.net/packages.php?catpid=14&catname=Mail.
Performs
just great ;-)
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/