Okay, I have searched on the internet for answers- sadly to no avail. I'm trying to send mail using the PHP mail() function so members can follow the link to register. It works for Gmail, Yahoo!, but not for Hotmail. Please help meh!!!
<?php
$headers .= 'To: <kenny.XXX@hotmail.com>' . "
";
$headers .= 'From: <XXX@srv30.000webhost.com>' . "
";
$headers .= 'Cc: XXX@srv30.000webhost.com' . "
";
$headers .= 'Bcc: XXX@srv30.000webhost.com' . "
";
$text="hello";
$text = str_replace("
.", "
..", $text);
mail('Kenny Worden:<kenny.XXX@hotmail.com>','Leos Realm account verification!',$text,$headers);
?>
If this helps anyone:
SMTP : localhost(srv30.000webhost.com)
SMTP PORT: 25
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…