I am using PHP mail and trying to send BCC, but for some reason since I've added the lines with //ADDED NEW on it , it's just now sending any emails at all.
Here is the full code:
$to = "me@gmail.com";
$bcc = $row['recipients']; //ADDED NEW
$subject = $row['subject'];
$message = $row['text_body'];
$headers = "From: " . strip_tags('me@gmail.com') . "
";
$headers .= "Reply-To: ". strip_tags('me@gmail.com') . "
";
$headers .= "Bcc: $emailList
"; //ADDED NEW
$headers .= "MIME-Version: 1.0
";
$headers .= "Content-Type: text/html; charset=ISO-8859-1
";
mail($to, $bcc, $subject, $message, $headers); // $bcc ADDED NEW
Why is this not sending?