Page 1 of 1

Two Receivers of Email from PHP Form?

Posted: Fri Dec 23, 2011 6:25 am
by zarstylei
Hi All!

Relatively new to PHP, but wondering if it is possible to have 2 receivers from a contact form? If so, how will I add the other email add below?

$email_to = "myname@site.com";

Much apprciate your advice. Cheers!

And hAPPY Christmas!

Resty

Re: Two Receivers of Email from PHP Form?

Posted: Fri Dec 23, 2011 6:46 am
by mikeashfield
Check out foreach loops :-)

Re: Two Receivers of Email from PHP Form?

Posted: Fri Dec 23, 2011 8:03 pm
by Christopher
The PHP documentation shows how to add CC addresses to emails:

http://us2.php.net/manual/en/function.mail.php