Send email with tables?
Posted: Fri Jul 22, 2011 12:27 pm
I'm trying to make an e-mail script that will have a bit of design -
and when I do this code -
making it print in browser is fine - but when I have this send to my email, it's just raw html?
Any suggestions on how to get the table to actually show when it emails as well?
Thanks!
and when I do this code -
Code: Select all
$first_name = "<table border=\"0\" cellpadding=\"5\" width=\"600px\" style=\"font-family:arial;font-size:12px;color:#888;\"><tr><td style=\"border:1px solid #ccc;\">Name</td>" . "<td style=\"border:1px solid #ccc;\">" . $_POST['first_name'] . " ". $_POST['last_name'] . "</td></tr></table>";Any suggestions on how to get the table to actually show when it emails as well?
Thanks!