The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › Back End › PHP Mail font-family
I’m using php mail function to send a validation e-mail and i want to show Arial font-family.
My e-mail contains html content and i add style=”font-family:Arial” to body tag, i’m using this Outlook and Gmail to test and my headers are this:
$headers = "MIME-Version: 1.0rn";
$headers .= "Content-type: text/html; charset=iso-8859-1rn";
Any ideia what might be happening? Maybe this e-mail clients don’t encode font-family?
Chris had an article about HTML email. There was also a related screencast. Check out the PHP he uses in the tutorial.
Thank you angus, that was very useful.
This is cool. thanks for sharing!
BTW, please check that website with chrome.