Computing.Net > Forums > Web Development > Converting form data into email

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

Reply to Message Icon

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.

Thanks.


priti



Sponsored Link
Ads by Google

Response Number 1
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".)


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: Converting form data into email

embed form results in html? www.computing.net/answers/webdevel/embed-form-results-in-html/2800.html

mailto action in the form www.computing.net/answers/webdevel/mailto-action-in-the-form/1779.html

sending form results in email www.computing.net/answers/webdevel/sending-form-results-in-email/2303.html