O corectura la cod :
Cod:
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "X-Priority: 3\n";
$headers .= "X-MSMail-Priority: Normal\n";
$headers .= "X-Mailer: php\n";
$headers .= "From: ".$mail_expeditor." <".$mail_expeditor.">\r\n";
$headers .= "Return-Path: ".$mail_expeditor."\n";
$headers .= "Return-Receipt-To: ".$mail_expeditor."\n";
La mine functioneaza perfect daca trimit aceste headere. Va trebui sa setezi variabil $mail_expeditor, eventual o declari la inceputul functie.