|
FormMail.pl allows a visitor to your website to send mail to
a given address via a form.
If you are unfamiliar with HTML, then we suggest copying
this code straight into the HTML section of your editor and then modifying the
values from there.
EXAMPLE CODE:
<form method="POST"action="/cgi-bin/FormMail.pl"name="userform">
<input type="hidden"name="redirect"value="http://www.yourdomain.com.au/thankyouform.html">
<input type="hidden"name="subject"value="Enquiry">
<input type="hidden"name="recipient"value="user@yourdomain.com.au">
<table cellpadding="1"cellspacing="0"width="100%">
<tr align="right">
<td nowrap><b>Your Name:</b></td>
<td align="left"width="100%"><input
type="text"name="realname"size="30"value></td>
</tr>
<tr align="right">
<td nowrap><b>Email Address:</b></td>
<td align="left"width="100%"><input
type="text"name="email"size="30"></td>
</tr>
<tr align="right">
<td nowrap><b>Telephone:</b></td>
<td align="left"width="100%"><input
type="text"name="telephone"size="30"></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td colspan="2"><b>Other
Information?</b><br>
<textarea rows="5"name="inquiry"cols="60">
</textarea></td>
</tr>
<tr>
<td><input type="submit"value="Submit
Form"></td>
<td> </td>
</table>
</form>
|