Sending multipart email using PHP mail function
This site has a great tutorial. The PHP manual recommend PAIR::Mail which I haven't checked out yet.
Summary
In this article, you probably learned a lot more about email than you ever wanted to know. That intimate knowledge about what makes email tick allowed us to do some pretty special things with PHP's deceptively simple mail function.
we learned how to manipulate email headers to play with the recipients of an email
we saw the headers that permit you to send HTML email
we combined the HTML and text versions of an email into a single, mixed message
and finally...
we brought it all together with a couple of new tricks to send email messages with file attachments.
Technorati Tags: php, mail, programming


Thanks for the links. Actually it's PEAR::Mail :)
Posted by: nico | Aug 10, 2008 at 03:28 AM
I used ezcComponents. I trimmed out all the unneded stuff and left only the necessary (base component, autoloader directory and mail component). That added 1.something megs to my project but meh the great syntax and working code makes up for it :-)
Posted by: rolfen | Aug 30, 2010 at 05:39 PM