This article provides a guide for how to enable cPanel FormMail support.
How to Enable cPanel FormMail Support
Following the steps below will have your FormMail script configured and ready for use.
- Login to cPanel.
- Download the FormMail template script from Matt’s Script Archive
- Unpack the archive and ensure the FormMail.pl script is placed in your public_html/cgi-bin/ folder.
- There is now just one line you would need to alter:
- @referers = (‘yourdomain.com’,’YOUR_IP’); – replace these fields with your specific site/domain information
- Change the permissions on your FormMail.pl script to 755 and that’s it! Your script is ready for use!
Note: If you find that your script is not executing properly, please attempt renaming the file to FormMail.cgi, this may provide better results
The FormMail template script is highly customizable and the steps we’ve provided above give you the most basic setup. If you wished to customize your FormMail script further, you can view further examples and instructions here.
Conclusion
You now know how to enable cPanel FormMail support.