Hey Guys,
I'm trying to send email using PHP mail() and it works fine except with hotmail. :td:
for some reason hotmail is not accepting emails from my server www.harjot.com
can anyone please let me know what i could be doing wrong?
here is the code:
$from_name = "my name";
$from_email = "[email protected]";
$subject = "October 22 2005";
$to_email = "[email protected]";
$message = "message test";
$from1 = "From: ".$from_name." <".$from_email.">";
$from2 = "-f".$from_email;
mail($to_email, $subject, $message, $from1, $from2);
I'm trying to send email using PHP mail() and it works fine except with hotmail. :td:
for some reason hotmail is not accepting emails from my server www.harjot.com
can anyone please let me know what i could be doing wrong?
here is the code:
$from_name = "my name";
$from_email = "[email protected]";
$subject = "October 22 2005";
$to_email = "[email protected]";
$message = "message test";
$from1 = "From: ".$from_name." <".$from_email.">";
$from2 = "-f".$from_email;
mail($to_email, $subject, $message, $from1, $from2);




