Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"How to mail a form to someone"

Status
Not open for further replies.

azamatali

Programmer
Aug 20, 2001
50
IN
My problem is----
I have one Html form for registration. On click of Submit button i want to send this form to someones email address. so what i have done is--

<FORM METHOD=POST ACTION=&quot;mailto:sanjeev@iic.ac.in&quot; ENCTYPE=&quot;text/plain&quot;>

but the ouput which i am getting at my mail address is something like---
name=abc
class=pg
.
.
and so on....
so i m getting ouput in a very strange manner...please tell me some another way so that i will get output in some usual format.
 
Use CDONTS to send Email, as the method you have shown will throw a security warning alert on modern browsers.
The reason is that the details are &quot;sent in the clear&quot; with this method.

Steve
 
You might want to use aspmail if your Web pages are hosted on an NT server. Otherwise, formmail.pl, which is a CGI Perl script works for Unix servers. Formmail.pl is at I got my aspmailer code from
In your form tag, you want the action to point to the file you are using, either formmail.pl or aspmailer.asp.

<FORM METHOD=POST ACTION=&quot;aspmailer.asp&quot; ENCTYPE=&quot;text/plain&quot;>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top