faqts : Computers : Programming : Languages : PHP : Common Problems : Email

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

32 of 81 people (40%) answered Yes
Recently 3 of 10 people (30%) answered Yes

Entry

How do I create a multipart/alternative HTML email message that HOTMAIL users can read?

Nov 21st, 2001 03:38
Ray Semiraglio, David McInnis,


First you need to pick a mime boundary in the header:

Content-Type: multipart/alternative;
boundary=____________________________Next

When you separate the mime parts with the boundary, you start each part 
with a -- like this 

--____________________________Next
Content-Type:text/plain

After all the parts, you NEED to add a trailing -- to the last boundary.

End of message text is here.
--____________________________Next--