I have a php contact form that works perfectly.
It has a drop down list, and the forms results are emailed to the selected drop down persons email address.
I want to add a CC to the form ... so that there is a copy, or record of all emails sent from the form.
Not sure how to do this.
Below is what I have ... how do I integrate the CC function into the script.
Thanks!
___________________________________________________________________________
$to = $_POST["to"]; if(!in_array($to,array("ian@xxx.com","adam@xxx.com","keith@xxx.com","sue@xxx.com","mark@xxx.com","scott@xxx.com","joyce@xxx.com","joe@xxx.com","ken@xxx.com","info@xxx.com"))) $to = "support@xxx.com"; $subject = "Order";