Getting the HTML form data in the email inbox will be a very convenient way to collect user responses very quickly. Except, when you have hundreds of responses per day! Here are the methods you have to get the HTML form data in your email inbox.
One quick and simple method is to use the ‘mailto:you@yourdomain.com’ in the ‘action’ field of the form. This method is very simple; but has many drawbacks.
See the article: Can JavaScript Email a Form?
Note: Using Simfatic Forms you can create web forms and get the form submissions by email. Simfatic Forms generates all the code. See the article: how to make web forms quickly.
Using a Formmail Script
A formmail script is a server side script that gathers the data submitted in the form and mails it to a given email address.
There are many formmail scripts available.(See the page Form mail script selection guide for details)
The following section describes how to use a form mail script
Suppose the URL to the formmail script provided to you is http//someserver/cgi-bin/formmail.pl
give this URL in the action attribute of your form tag
<form action="http://someserver/cgi-bin/formmail.pl" method="post"> .....your input elements..... </form>
Now you can give whatever input elements you want within the form tags.
There are some information that you should provide to the CGI program (like the email address to which the form-data should be sent)
provide these data as hidden fields in the form
(using )
Insert the Submit button.
Over! you are ready with your form.
Read More:
- How to make a web form and get it online quickly.
- More information on form-mail scripts
- Email Form ‘HowTo’s
Related posts:




{ 12 comments… read them below or add one }
I need that php code (Or php page) as i don’t know php code.
i have only HTML web page. and i have use an image and text instead of submit button.
Can anybody provide me a php page???
help me……….pls
$val)
{
$Data .= $key.”:=”.$val.”\n\n”;
}
print “”.$Data.”";
//mail(ToList, Subject, EmailBodyContents, Optional Headers)
mail(“myemail1@mydomain.com, myemail2@mydomain.com“, “Registration Form Submission Details”, $Data, “From: me@me.com“);
Tell me how an i make a comment box page quick load comment like facebook
Good job
is there anyway to hide you e-mail address when you put a mailto form on your website so people could e-mail me but not see my e-mail address, not just making it say “email me” but when they actually open their e-mail to send it? I read your article about the PHP script but I don’t think you are allowed to use PHP scripts in blogger or maybe I’m doing something wrong, is there any free hosting sites that would allow PHP scripts?
Type=”hidden”
I want the form details to be sent to my mail address. I don’t want outlook express to open when user submits the details. And, I don’t want Simfatic form either.
For instance, take this current phtml or html page as it contains the comment form. When the submit button is clicked on this page, the data/details of the form goes to the “wp-comments-post.php” page. Assist me here!
1. Why the form data goes to another php page rather than mail address?
2. If you say php page is required, then, what code should I write in php, so that, the form details reaches my mailbox?
Please help me..!
See
http://www.html-form-guide.com/email-form/
I don,t want email. Just mail(postal) me the info I requested: namely the info. on different trips and the application forms.
Thank you,
Donald R. Adams MD
Is it possible to embed the the “mailto” action in blogger. For some reason I can’t get it to work.
If you please, I need a java code or html, to make like this form not mailto.
plz, I need like this layout for your website if you plz
See the page:
How to get email from HTML form submission