954,606 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Form to 2 emails

Hi, I have a form to email working just fine, but I would like to send the form to two different emails. Any help please.
Thanks

Jo4x4
Newbie Poster
2 posts since Jul 2010
Reputation Points: 10
Solved Threads: 0
 

Just edit your PHP script to send it to two destinations.
Normally you build up the message in steps from each field, so just add a bit for a cc as well or if you don't want to do that, repeat the entire code in the same script, but with a different destination.

drjohn
Posting Pro in Training
448 posts since Mar 2010
Reputation Points: 76
Solved Threads: 80
 

the default for multiple addresses is separated by ; semicolon
try just editing the to: address address1;address2

almostbob
Posting Sensei
3,149 posts since Jan 2009
Reputation Points: 571
Solved Threads: 376
 

Thanks guys, got it sorted. The problem was on the hosting server...

Jo4x4
Newbie Poster
2 posts since Jul 2010
Reputation Points: 10
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: