R4L/Services/Hosting/Basic/FormMail
From R4L Help Wiki
Form Mail
The following are working examples of HTML code you can use to create a form on your website. When your visitor submits this form, you will receive an email with the contents of what they submitted in the form. These forms can be used as a contact me page or other uses.
Form Mail with Captcha
A Captcha is a random set of characters that is generated on the form page that your visitor needs to type in correctly in order for the form to be processed. This technique helps reduce use of the form by automated programs that generate spam.
<form action="/cgi-bin/form-captcha.cgi" method="POST">
<input type="hidden" name="recipient" value="you@your-domain-hosting-this-script.com"> <input type="hidden" name="subject" value="Web contact: http://your-domain-hosting-this-script.com"> <input type="hidden" name="env_report" value="REMOTE_HOST,REMOTE_ADDR,HTTP_USER_AGENT">
Name: | <input type="text" size="30" maxlength="100" name="name"> |
Mailing Address:</font> |