Php – tables should appear while sending email



hello everyone,

Need your support here on the below-

I have been working around an email code that would contain some design -

Here’s the code-

$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>";

The issue is that having it print in the browser is all right however whenever I send this to my mail it appears as an uncooked html.

Lend me some tips to have the table to really demonstrate while emailing.

Thanks much.