How to send email as HTML |
3/9/2007 06:26:15 | |
| PHPRunner General questions | ||
|
L
Lisa2006 author
Hi Everybody, |
||
|
J
|
Jane 3/9/2007 |
|
Lisa, |
|
|
L
|
Lisa2006 author 3/10/2007 |
|
Please HELP <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=16149&image=1&table=forumreplies' class='bbc_emoticon' alt=':(' /> |
|
|
G
|
Greeham 2/8/2008 |
|
Sorry to dredge an old post up but this is still the case I am having real problems having my email sent as HTML. Have tried everything including looking at http://www.php.net/manual/en/function.mail.php which, to be honest, after following it doesn't work at all. |
|
|
|
kujox 2/8/2008 |
|
This is the function I use, (which looks a lot like yours) |
|
|
G
|
Greeham 2/8/2008 |
|
Hi There, |
|
|
J
|
Jane 2/11/2008 |
|
Graham, ... $headers = 'MIME-Version: 1.0' . "\r\n"; $headers.= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $headers.= "From: ".$values["engineer"]." <".$values["date"].">\n "; ... |
|
|
G
|
Greeham 2/11/2008 |
Graham, here is an error in your code:
|
|
|
J
|
Jane 2/11/2008 |
|
Graham, ... $headers = 'MIME-Version: 1.0' . "\r\n"; $headers.= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $headers.= "From: ".$values["engineer"]." <".$values["date"].">\n "; ... |
|
|
G
|
Greeham 2/11/2008 |
|
Hi Jane, |
|
|
S
|
smcgo4 2/11/2008 |
|
Thank you as well, I needed this for my little project! |
|