|
-
Senior Member
Multi part mail, how to?
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
Vincent
SWIS BV
Last edited by Markp.com on 07-23-2003 at 02:25 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|