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