template mail tag html code example
Example 1: 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);
Example 2: html email template
<a href="mailto:[email protected]"></a>