Hi,

I was wondering if the BCC in the header accepts multiple recipient as in the example below?

$headers .= 'To: Mary <mary@example.com>, Kelly <kelly@example.com>' . "\r\n";
$headers .= 'From: Birthday Reminder <birthday@example.com>' . "\r\n";
$headers .= 'Cc: birthdayarchive@example.com' . "\r\n";
$headers .= 'Bcc: birthdaycheck@example.com,someone@example.com,someone2@example.com,someone3@example.com,someone4@example.com,' . "\r\n";

// Mail it
mail($to, $subject, $message, $headers);

Why don't you try it? There's a ton of free email services out there if you don't want to bother anyone.

I just looked at php.net, and it looks like what you want to do is supported.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.