Hello for all
my problem is in mail functions , thats send very well for all emails but for hotmail emai doesnt reach < first I use this code :
@mail("email@hotmail.com,site@site.net",$subject,$message);
that goes to junk email but te strange when I add headers for te code not reach even to the junk email and this is the code :
$headers = "From: site@site.net <site@site.net>\n";
$headers .= "Reply-To: site@site.net\n";
$headers .= "Date: " . date("r") . "\n";
$headers .= "Return-Path: site@site.net\n";
$headers .= "MIME-Version: 1.0\n";
$headers .= "Message-ID: " . date("r") . $_SERVER["name"]."\n";
$headers .= "Content-Type: text/html;charset=iso-8859-1\n";
$headers .= "X-Priority: 1\n";
$headers .= "Importance: High\n";
$headers .= "X-MXMail-Priority: High\n";
$headers .= "X-Mailer: PHP Mailer 1.0\n";
@mail("email@hotmail.com,site@site.net",$subject,$message,$headers);
hope can you help