Complete mail header

    $headers  = "From: testsite <[email protected]>\n";
    $headers .= "Cc: testsite <[email protected]>\n"; 
    $headers .= "X-Sender: testsite <[email protected]>\n";
    $headers .= 'X-Mailer: PHP/' . phpversion();
    $headers .= "X-Priority: 1\n"; // Urgent message!
    $headers .= "Return-Path: [email protected]\n"; // Return path for errors
    $headers .= "MIME-Version: 1.0\r\n";
    $headers .= "Content-Type: text/html; charset=iso-8859-1\n";

Leave a Comment