Here is an example form. It is very short and simple. Your form can be longer, and can
contain as many fields as you like. You can use your own form, but needs to contain the
following items for this script to work. This form will mail the form results to user@tio.com
and send the person submitting the form to another page called thanks.htm.
1. You must change the post method of the form - changing the line to the address you want
the form to be emailed to. See the example line below (form method)
Example form :
<FORM METHOD="POST" ACTION="http://www.tio.com/cgi-bin/mailalt?user@tio.com"> Email address: <INPUT TYPE="text" NAME="from-email" SIZE="40"> <INPUT TYPE="hidden" NAME="next-url" VALUE="http://www.mysite.com/thanks.htm"> <!-- add the rest of your input fields and statements here to customize your form--> <INPUT TYPE="RESET" VALUE="Reset"> <INPUT TYPE="SUBMIT" VALUE="Submit"> </FORM> Change user@tio.com to the person you want to receive the form results. The field "from-email" is used by the form to set the proper reply to address, so your form should contain this line. <INPUT TYPE="hidden" NAME="next-url" VALUE="http://www.mysite.com/thanks.htm"> This is the page on your site that you want the person submitting the form to see after they submit the form. Usually it says something like "Thanks for submitting the form." and has a link back to your homepage. The next page doesn't have to be called thanks.htm but a file should exist or they will get a 404 - file not found error message after submitting the form.