Author Topic: trying to add a Bcc to a comma separated email list (array)  (Read 236 times)

macrat101

  • New Member
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
trying to add a Bcc to a comma separated email list (array)
« on: September 05, 2010, 06:49:46 PM »
Trying to get the second "to" admin@home.com (admin@home.com) 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("ian@elsewhere.com","adam@elsewhere.com","keith@elsewhere.com","sue@elsewhere.com","mark@elsewhere.com","scott@elsewhere.com","joyce@elsewhere.com","joe@elsewhere.com","ken@elsewhere.com","info@elsewhere.com")))
$to = "admin@home.com";
$subject = "Order";