trying to add a Bcc to a comma separated email list (array)

Trying to get the second “to” [email protected] to receive a copy of the form results … that are currently being sent to any of the “elsewhere.com” addresses … I don’t know how to make it happen. I’ve fiddled with adding a Bcc, but it’s not working … not even sure if Bcc is what I need.

Thanks


$to = $_POST[“to”];
if(!in_array($to,array(“[email protected]”,“[email protected]”,“[email protected]”,“[email protected]”,“[email protected]”,“[email protected]”,“[email protected]”,“[email protected]”,“[email protected]”,“[email protected]”)))
$to = “[email protected]”;
$subject = “Order”;

Sponsor our Newsletter | Privacy Policy | Terms of Service