Hello there.
I have a bit of a weird problem. I am using the mail() function to email a bunch of people on a list and it works fine for most email addresses, but one I found it not to work at. Heres the code:
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=\"iso-8859-1\"\r\n";
$headers .= "From: Erridzo prayer request \r\n";
$headers .= "Reply-To: email@songsforJesus.net\r\n";
$headers .= "X-Mailer: PHP/".phpversion();
/ I left out the file access part /
for ($i=0; $i<=$array_size; $i++)
{
mail($current_mailers_array[$i], "New Erridzo Prayer Request!", $message, $headers);
}
So there's the code. It will show up at Hotmail accounts and my domain's accounts, but one specific domain won't work (user@spu.edu). It will work it I do not have any of the $headers parameter. I can still have the variable in the mail() function, but it must just be empty. If anyone has any idea what might be causing this, I'll be greatful. Thanks.