Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Converting form data into email
Name: priti Date: April 22, 2005 at 17:15:46 Pacific OS: Win 2000 Prof. CPU/Ram: P3
Comment:
Hi, I have developed a website in JSP and I have feedback page in it. I would like to know how do i convert submitted form data in feedback page into email. Once user clicks submit button, i would like to get email of those data submitted in the form.
Name: HarishKumar Date: April 26, 2005 at 13:48:49 Pacific
Reply:
Your starting <form> tag needs to be changed to the following: <form action="/cgi-bin/cgiemail" method="post"> This simple change will cause the utility to e-mail all of your HTML form's *named data to "webmaster@yoursite.com" automatically. This is all that is needed to make the most basic use of the Form E-mailer.
*When you create <input> tags, they must be named in order for the data to be passed to the utility, so make sure any controls that take user input have the "name=" property set. (For example, the input from the control "<input type=text name=username>" will appear in the e-mailed message as "username=yourvisitorsinput".)
Summary: If you simply email the output of the raw form, you'll get an email that looks something like: LastName=Simpson FirstName=Homer MiddleInitial=J StreetAddress=732 Evergreen Terrace CityAddress=Springfi...
Summary: Hi, I want to submit form data to assinged email address. I am using mailto: action. But when I click on submit button I get write email screen(I have aol, so I get AOL write email dialouge box) wit...
Summary: <form action="mailto:[email address]" method="post"> when you submit, an alert box will appear telling you that you will be submitting via email... Also, it uses the default mail client so if they ...