I can't send html email through PHP.
in yahoo email, it is showing text based email. How can i make email to show normal html based.
Output of my email in yahoo mail:
<html><head></head><body><h2>test heading</h2><br><table><tr><td>Color / Pattern: </td><td>yellow</td></tr></table></body></table>
PHP code:
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers .= 'From: '.$email."\r\n".
'Reply-To: '.$reply_to."\r\n" .
'X-Mailer: PHP/' . phpversion();
$message = "<html><head></head><body><h2>test heading</h2><br><table><tr><td>Color / Pattern: </td><td>yellow</td></tr></table></body></table>";
mail($mail_to, $subject, $message, $header);