ganeshbabu72
asked on
cgi send mail
Hi to every one,
I want to get all the fields those who typed in the form let them user send to my email id thru the submit button.
Now I?m using Apache server as well my cgi-bin path is
/usr/local/apache/cgi-bin
It is very easy task of all of you guy?s. But I?m very
new to CGI script.
Please any one can help me it's very useful for me.
Regards,
Babu.
<html>
<head>
<meta http-equiv="Content-Langua ge" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor. Document">
<title>Name</title>
<base target="_top">
</head>
<body>
<form method="POST" name="test" enctype="text/plain" action="submit" target="_top">
<p>Name <input type="text" name="Name" size="25"></p>
<p>Phone <input type="text" name="Phone" size="25"></p>
<p>E-mail <input type="text" name="Email" size="25"></p>
<p>Subject <input type="text" name="Subject" size="25"></p>
<p>Query <textarea rows="3" name="Query" cols="25"></textarea></p>
<p> </p>
<p>   ; &nb sp; & nbsp;  ; &nb sp; & nbsp;  ; &nb sp; & nbsp;  ;
<input type="submit" value="Submit" name="Submit"> &nbs p; &n bsp;
<input type="reset" value="Reset" name="Reset"></p>
</form>
</body>
</html>
I want to get all the fields those who typed in the form let them user send to my email id thru the submit button.
Now I?m using Apache server as well my cgi-bin path is
/usr/local/apache/cgi-bin
It is very easy task of all of you guy?s. But I?m very
new to CGI script.
Please any one can help me it's very useful for me.
Regards,
Babu.
<html>
<head>
<meta http-equiv="Content-Langua
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.
<title>Name</title>
<base target="_top">
</head>
<body>
<form method="POST" name="test" enctype="text/plain" action="submit" target="_top">
<p>Name <input type="text" name="Name" size="25"></p>
<p>Phone <input type="text" name="Phone" size="25"></p>
<p>E-mail <input type="text" name="Email" size="25"></p>
<p>Subject <input type="text" name="Subject" size="25"></p>
<p>Query <textarea rows="3" name="Query" cols="25"></textarea></p>
<p> </p>
<p>  
<input type="submit" value="Submit" name="Submit">
<input type="reset" value="Reset" name="Reset"></p>
</form>
</body>
</html>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.