faqts : Computers : Programming : Languages : PHP : Function Libraries : Mail

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

12 of 20 people (60%) answered Yes
Recently 4 of 10 people (40%) answered Yes

Entry

How can I send an email in both txt and HTML format and have only 1 be display in the users email program?

May 16th, 2000 09:27
Richard Heyes, Matt Gregory, Michael Bell,


You need to choose which one the user is going to see first, and make 
the second an attachment to the first.
Or send a multipart email using mime. Here's a class that will help:
http://phpclasses.upperdesign.com/browse.html/package/32