Work at Home Forum - An online community of those who work from home.
Web Design and Hosting Work at Home Forum / Web Design and Hosting /

Submit form to multiple emails using a PHP form

Author Message
suforum
Member


Joined: 27 Jul 2008
Posts: 1

# Posted: 27 Jul 2008 00:52
Reply 


Hi guys,

I would just like to know how to beable to submit a form to 2 email addresses.
I am using a .php form and this is how my html coding goes with a single email address:

$to = "[email protected]";
$from = $_POST['email'];
$subject = "Website Enquiry";

Let me know, thanks!

[Links removed - Admin]

Vishal P. Rao
Administrator


Joined: 23 Jun 2005
Posts: 971

# Posted: 27 Jul 2008 01:04 · Edited by: Vishal P. Rao
Reply 


Separating email address with comma in the $to field should do the trick I believe.

$to = "[email protected], [email protected]";

__________________

Your Reply
Bold Style  Italic Style  Underlined Style  Image Link  URL Link     :) ;) :-( ... Disable smilies

» Username  » Password 
Only registered users can post here. Enter your login/password correctly before posting a message, or register here first.
  • Messages not conforming to the forum rules will not be approved or, deleted without any explanation.
  • Please do not post email addresses. If essential, obfuscate them (user [at] domain.com or something like that).
  • Please do not use BOLD to highlight entire post.
 


Page loading time (secs): 0.033

Sign Up for WAHF Special Offers!

Exclusive deals and offers for WAHF members only.

Your Name:   Email:

P.S. You'll not be spammed and you won't receive more than an email a week. Your email address will not be shared or sold to anyone else.


Custom Search

RSS feed (?)
  Add to My Yahoo! Add to Google Add to My MSN  
Subscribe and get your updates by email

Forums: General Advice · Accounting and Legal Advice · Business Opportunities and Programs Reviews · Productivity and Motivation · Network/Multi-level Marketing · General Marketing · Website Promotion · Web Design and Hosting · Work at Home Jobs · 1StepSystem · Prosperity Automated System · Paid Surveys · Coastal Vacations · Profit Lance · Agel · My Powermall · Squidoo · West at Home · Global Resorts Network · Wealthy Affiliate · Casual Chat · Work at Home Moms · Work at Home Dads · Raising Kids · Health · Stress Management · Meditation · Diet and Nutrition

Member Ranking · Terms of Use · Privacy Policy · About Us · Contact Us · Support Us · Friends

Free PHP Contact Form Script

Sitemap: [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13]

© 2004-2009 Work at Home Forum. All rights reserved.