html email content template code example
Example: email header html
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
// Additional headers
$headers .= 'To:' . "\r\n";
$headers .= 'From: Admin<[email protected]>' . "\r\n";
// Mail it
mail($to, $subject, $message, $headers);