FormMail is a popular script that you can use with your website so that visitors can fill it out and have their response emailed directly to you. This is not the only method to set up FormMail but is generally considered the most straight forward. To help you set up FormMail on your website, we have outlined the steps to install and set up FormMail:
@allow_mail_to = qw( This email address is being protected from spambots. You need JavaScript enabled to view it. This email address is being protected from spambots. You need JavaScript enabled to view it. );
Make sure you remove localhost from both the @referers and the @allow_mail_to lines.
After making these two changes, save and close the file.
<form action="http://www.yourdomain.com/cgi-bin/FormMail.pl" method="post">
<input type="hidden" name="recipient" value=" This email address is being protected from spambots. You need JavaScript enabled to view it. , This email address is being protected from spambots. You need JavaScript enabled to view it. " / >
This tag tells the form which email address to send the form to. Just make sure that this email is one of the addresses in the @allow_mail_to line in FormMail.pl
Specify Email Subject Line:
<input type="hidden" name="subject" value="From the feedback form" / >
You can edit the subject as you like so you can easily recognize emails received from your contact form
Redirect after form submission:
<input type="hidden" name="redirect" value="http://www.yourdomain.com/thankyou.html" / >
Please note in the example above, you will need to create the thankyou.html file. You can also name this file differently (thanks.html for example). Just make sure that name of the file you create matches the name of the file referenced in the tag (e.g. value="http://www.yourdomain.com/thanks.html" / >. This tag is completely optional, if you do not include this tag, users will instead be redirected to the default FormMail Thank You page:
Email: | support@WebHostingHub.com | Ticket: | Submit a Support Ticket |
---|---|---|---|
Call: | 757-416-6627 | Chat: | Click To Chat Now |
We value your feedback!
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
new! - Enter your name and email address above and we will post your feedback in the comments on this page!