"php mail bcc multiple recipients" Answer’s


Set your mail to field to null, and then implode your $to array in your headers

$headers .= 'From: SmsGratisan.com <admin@website.com>' . "rn";
$headers .= 'BCC: '. implode(",", $to) . "rn";

mail(null, $title, $content, $headers);
Wednesday, March 31, 2021
answered 10 Months ago
Only authorized users can answer the question. Please sign in first, or register a free account.
Not the answer you're looking for? Browse other questions tagged :