HostGator.com » Support Portal
Custom form mail
Since we have a very strict anti-spam policy, we cannot allow you to use your own FormMail scripts. We ask that you use the server-wide FormMail script, instead. This way, if there are any exploits found on this version of FormMail, you will not be held accountable.
If you have a need for a customized mail script, and you have one available, please contact support@hostgator.com, so that we can insure that your mail program version does not contain any exploits.
If you already have scripts that utilize formmail, you will need to change the ACTION parameter in the FORM tag. How?
Reminder: One drawback of using the server-wide FormMail script, is that you must send the contents of the form to an address that is on your domain name. If you need the mail sent to an off-site email address, you can set up an E-Mail Forwarder to forward any mail from the email address on your domain to your off-site email address.
SUMMARY: You must use the server-wide formmail, unless another version has been approved by support@hostgator.com. This helps to insure that no spam is being sent using insecure formmail scripts on the server.
NOTE: If you are familiar with Matt's FormMail script, most of the options that are available in that FormMail are available in the server-wide formmail. However, the script is not the same. The server-wide FormMail was developed by cPanel Developers. Please do not try to contact the support team for Matt's FormMail concerning any issues.
Article Comments
Providing a web design aspect is outside of the scope of services we normally offer, but I will try to find a PHP solution which HostGator can distribute.
Where is this file?
This article show exactly how to use the file; however, the file is not accessible to edit.
Raven
You can also use custom design to add features to the form we provide, but results will vary.
You will need to create your own script, which can be done using the phpFormGenerator found in Fantastico.
If you decide to use a custom form with our formmail scripts, then you will need to update your form with the required hidden inputs.
Read more in the related article "Steps to making a form on your website where people can email you information (formmail)".
Although comments are not monitored by technical support staff, they are moderated and read by technical writers. Comments will need to be approved by a moderator before appearing.
Our technical writers do read the comments periodically for the purposes of updating the articles, and do appreciate your feedback, suggestions and corrections to the articles themselves, as well as any suggestions or tips for readers of this article. However, support questions posted here are not guaranteed to be replied to in a timely manner or at all. For support issues, it is best to contact our support staff instead by live chat, email or phone.


