semplicemente:
Codice PHP:
    $headers="FROM: $from\r\n";
    
$headers.="MIME-Version: 1.0\r\n";
    
$headers.="Content-type: text/html; charset=\"utf-8\"\r\n";
    
$headers.="Content-Transfer-Encoding: 8bit\r\n";
    
$headers.="X-Mailer: PHP ".phpversion();