Jump to content

php contact form email array ... I need the results sent to the admin also


macrat101

Recommended Posts

the form results are being sent to the selected email address in the array ... but I need a copy sent to the admin email address as well.

 

before adding the array addresses ... the forms results were being sent to the admin, but after adding the array ... the admin address is out of the loop.

 

How do I get the [email protected] address to receive a copy of the forms results?

 

I'm not sure if it needs to be a Bcc or what?

 

Thanks in advance.

 

________________________________________________________________________________________

 

$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";

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.