Log in

View Full Version : on Click submit button that data(message) should be go to my personal email id



jacks_bfa
07-11-2010, 07:19 AM
Hello friends,

I am new in blogging, i trying to make a form which will collect user's
name, email, one selected option "which will provide" and his comments.
when the user will click on the submit button that data(message) should be go to my personal email id.

and one more form like on this site

http://www.subodhsathe.com/

djr33
07-11-2010, 03:26 PM
You can't do this in HTML alone. You will set the "action" of the form to a page that will handle the email.
You have three options:
1. Use action="mailto:email@your.com"
That will just open their email program, and it doesn't seem very professional. I wouldn't recommend it.
2. Find a "free form mailer" and use their service. Easy, but also not very professional.
3. Create a form mailer yourself using a language like PHP-- any serverside language will work-- CGI, ASP, JSP, etc. This is definitely the hardest but also will be the best in the end. It isn't so hard to create the code, but sometimes is difficult to make it properly interact with your server.