 |
|
How-to: Using FormMail Clone (formmail.cgi) to send out e-mail
This short tutorial describes how to use the FormMail Clone script that is available with cPanel. FormMail is one of the most popular form-based methods to send e-mail from your website and was written by Matt Wright.
FormMail is easy to setup and has several customization options to make sending e-mail from your website very easy.
The following two steps describe how to get started quickly with FormMail Clone.
Step 1: Create the basic form in your web page similar to the following:
<form action="http://www.yourdomain.com/cgi-sys/FormMail.cgi" method="POST">
<input type="hidden" name="recipient" value="someemail@yourdomain.com">
<input type="hidden" name="subject" value="Feedback from web site">
<input type="hidden" name="redirect" value="http://www.yourdomain.com/thankyou.html">
</form>
NOTE: Make sure that the page indicated by the 'redirect' variable exists on your server. This is the page where users are taken after the form is submitted.
Step 2: Upload the saved file to your website via FTP and run the file through your web browser as you would any other HTML page. Try submitting the form.
|
|