PDA

View Full Version : PHP form - email to more than one email address


Finland Blue
09-23-2010, 01:06 PM
I have used the Dreamwesver tutorial to set up a form to send results to an email address. How can I set it to send to more than one email address?

I have parameter set like this :

// Your email address. This is where the form information will be sent.
$emailadd = 'info@myaddress.com';

davidj
09-23-2010, 06:30 PM
just seperate your email addresses with a comma

$emailadd = 'info@myaddress1.com, info@myaddress2.com, info@myaddress3.com';

Finland Blue
09-23-2010, 06:34 PM
Thanks for that tip. I had almost done that earlier but had put the ' ' marks around each mail address, and that had not worked.

But works now perfect, thanks.

davidj
09-23-2010, 06:35 PM
no problem