Hi,

I'm building an Outlook clone in Flash for use online. It all works ok but to make it a bit better I would like it to send multipartmessages; html - plain text

I work with a flash made HTML editor that outputs HTML 1.0

I've found a PHP class online that converts HTML to plain text. What would I have to do to send messages multipart then, headers, mime type. Currently I use this:

PHP Code:
$sender "[email protected]";
$From "From: Me myself <$sender>";
$Mime "MIME-Version: 1.0";
$HTML "Content-type: text/html; charset=iso-8859-1";
mail("$toaddress","subject","$body","$From\n$Mime\n$HTML"); 
Some more questions on multi-part; Not getting it really from php.net; How would I get the plain text from a multipart message and how should I 'extract' (make links from) attachments?

Thanks in advance