Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

nickyj182

macrumors regular
Original poster
Feb 12, 2002
180
0
Morehead, KY
Hi,

I have been working with my co-workers on a website for our small town's Chamber of Commerce. We have created a form for people to fill out to join our organization, the only problem, how can I get it to send? We want it to be automatically e-mailed to a specific e-mail account once it has been filled out and the user hits Send. We have our own domain for the site already. Any tips on how I can pull this off? Thanks in advance!
 

theluggage

macrumors 604
Jul 29, 2011
7,519
7,430
Hi,

I have been working with my co-workers on a website for our small town's Chamber of Commerce. We have created a form for people to fill out to join our organization, the only problem, how can I get it to send? We want it to be automatically e-mailed to a specific e-mail account once it has been filled out and the user hits Send. We have our own domain for the site already. Any tips on how I can pull this off? Thanks in advance!

The falling-off-a-log easy, no programming required solution is to just use Google Forms.

Second possibility, if you don't like Google, is to build your site with something like Wordpress and use a 'contact form' plugin.

Third possibility is to Google 'HTML email form'.
 

960design

macrumors 68040
Apr 17, 2012
3,703
1,571
Destin, FL
1) Catch the 'submit' from the form SUBMIT button click using any server side language.
2) Validate the form, returning the partially filled out form with highlighted errors
3) If no errors, use the server side email function of your choice. An example would be php's email() function.

PS. I'd prefer to capture the data in a database for trending reports and statistic gathering from the responses. Then I'd send an email to whoever needed it in a pretty html email format.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.