View Full Version : E-mail forms
00XxXxX00
02-16-2003, 05:33 PM
How can I make a form on my webpage, so when I put all of the text fields out, they fill them in, and it goes directly to my inbox?
<center><font face=arial size=2>
<form action=/cgi-bin/mailform.cgi?zeroskater88@eboarding.net method=post>
Your Name: <INPUT TYPE="TEXT" NAME="Your Name"><BR>
Your Email Address: <INPUT TYPE="TEXT" NAME="Your Email Address"><BR>
<br>Your Review<BR>
<TEXTAREA NAME="Comments" ROWS=10 COLS=45></TEXTAREA><BR><BR> <INPUT TYPE="SUBMIT" VALUE="Send Message"> </FORM><br>
^^ how can I edit that so that when the user click "submit" it will just go back to my homepage, and their written in text would show up in my inbox.?? Thankyou. :p
ACJavascript
02-16-2003, 05:47 PM
Well you have the right idea with the cgi script..
Use this one it emails the form to you and sends the user back to were you want..
http://www.acjavascripts.com/CGIScriptsACMailer2.html
Hope is helps :thumbsup:
00XxXxX00
02-16-2003, 06:15 PM
Thanks a lot. Is that your site? If it is.. great job!
00XxXxX00
02-16-2003, 06:21 PM
<form action="http://www.yoursite.com/cgi-bin/ACFormMailer.cgi" method="POST">
Email Address: <input type="text" name="email"><BR>
Name :<input type="text" name="PersonsName"><BR>
Your Review: <input type="text" name="FavColor"><BR>
<input type="submit" value=" - Submit - ">
</form>
Thats my script I am using.. but I dont understand how to edit it to make it e-mail to me and return back to my homepage.
ACJavascript
02-16-2003, 09:49 PM
Yes thats my site,, and thanks :D
okay open up ACFormMailer.cgi you will see whats below
Follow the instructions it will say type in your email address thats were the form will be emailed to,, Then put in the page you want the user to go back to after it is completed wich is in $Refresh
and in the action put www.yoursite.com/cgi-bin/ACFormMailer.cgi
Be sure to read the readme it will tell you how to upload it and set it up further :thumbs:
----------
#Your Mail Program (You can usauly just leave it the way it is now)
$mailprog = "/usr/sbin/sendmail";
#The Email address that the form will send the info (Be sure to escape the \@ in your email)
# Example: your\@Email.com
$Email = "ACJavascript\@aol.com";
#The subject that the email will have when sent to the above email address
$Subject = "You have mail!";
#The Page That you want them to go to after the form
$Refresh = "http://www.yoursite.com/Thankyou.html";
#The subject of your autoresponse
$sub = "Thank you - Autoresponse";
ACJavascript
02-16-2003, 09:49 PM
Oh yea,, If you can't set it up I will be happy to set it up for you! :D
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.