faqts : Computers : Programming : Languages : PHP

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

12 of 630 people (2%) answered Yes
Recently 4 of 10 people (40%) answered Yes

Entry

Is there a way to use php to embed html in e-mails? Can you do this without php

Mar 1st, 2009 08:53
Sarah Turner, mesothelioma asbestos, dman, Henrik Hansen, Michael Hutchinson,


Yes using php's mail function you can send both text and html mails. 
When you send html mails you need to set 2 more mail headers defining 
the content type and the mime version, these are:
MIME-Version: 1.0\r\n
Content-type: text/html; charset=iso-8859-1\r\n
for a full example, look at example 4 in the php manual page for mail
().
http://www.mesotheliomakiller.com
http://www.healthinhealth.com
http://www.qwesz.com
http://americanahost.com
http://qwesz.org
http://voyagevacances.blogtact.com/
http://rejseferie.blogtact.com/
http://flyvningertilschweiz.blogtact.com/
http://volssuisse.blogtact.com/
http://volsromeitalie.blogtact.com/
http://viajesvacaciones.blogtact.com/
http://reisenchina.blogtact.com/
http://flugeschweiz.blogtact.com/
http://resasemester.blogtact.com/
http://viaggivacanze.blogtact.com/
http://reisenurlaub.blogtact.com/
http://reizenvakanties.blogtact.com/
http://volisvizzera.blogtact.com/
http://gartenpflege.blogtact.com/
http://geschenkideeen.blogtact.com/
http://vluchtenromeitalie.blogtact.com/