I created a script to send an email to 3 recipients: a bellsouth.net, mydomain.com, and a gmail.com domain. Two of the recipients receive the email without a problem but the bellsouth.net address says that she has not received anything. Is there something that I am missing in my script or is there some peculiarity with bellsouth that is preventing my email from transmitting?
The relevant code is attached.
/* Email the recipients. */
$to = "firstname.lastname@example.org, email@example.com, firstname.lastname@example.org";
// Additional headers
$headers = "MIME-Version: 1.0" . "\r\n";
$headers .= "Content-type:text/html;charset=iso-8859-1" . "\r\n";
$headers .= 'From: email@example.com' . "\r\n";
$headers .= 'Reply-To: firstname.lastname@example.org' . "\r\n";
$subject = 'A test email';
$message = 'A test email was transmitted';
// execute the mailing function
mail($to, $subject, $message, $headers);