email header html
snippet in html

email header html

user8262

$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<youremail@email.com>' . "\r\n";
    // Mail it
    mail($to, $subject, $message, $headers);