m |
m |
||
Line 1: | Line 1: | ||
− | <div align=justify>Having a contact form on your site is very useful as it allows your visitors to contact you or just leave a comment. But simply adding the code of the form to the page is not enough. For it to function properly, you need to have formmail script under your hosting account. Don't worry, it is not that difficult and can be done within several minutes. | + | <seo title="FormMail script" metakeywords="contact form,email form,formmail" metadescription="How to use formmail script for a contact form" /><div align=justify>Having a contact form on your site is very useful as it allows your visitors to contact you or just leave a comment. But simply adding the code of the form to the page is not enough. For it to function properly, you need to have formmail script under your hosting account. Don't worry, it is not that difficult and can be done within several minutes. |
First, follow the links below. There you can download the formmail script and get information on its installation and usage: | First, follow the links below. There you can download the formmail script and get information on its installation and usage: | ||
Line 21: | Line 21: | ||
<div align=justify>This defines to which email address you want the emails from your form to be sent. | <div align=justify>This defines to which email address you want the emails from your form to be sent. | ||
− | Finally, add the following line to the code of the page your form is located on: | + | Finally, add the following line to the code of the page your form is located on:</div> |
'''<form action="http://www.yourdomain.com/cgi-bin/formmail.pl" method="post" name="frmContact" id="frmContact">''' | '''<form action="http://www.yourdomain.com/cgi-bin/formmail.pl" method="post" name="frmContact" id="frmContact">''' | ||
− | + | <div align=justify>This specifies the path to your formmail script. | |
− | This specifies the path to your formmail script. | + | |
Now you should be able to receive mails sent from the contact form on your website.</div> | Now you should be able to receive mails sent from the contact form on your website.</div> |