Custom form mail, cgiemail

FormMail is a very popular method of emailing the contents of a form to a user. It is relatively easy to set up and does its job well. However, spammers have found security holes in previous versions and this allows them to send mail through whatever server the account is set up on.

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, so that we can insure that you're 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 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.

  • Email, SSL
  • 12000 Users Found This Useful
Was this answer helpful?

Related Articles

535 Incorrect authentication data

If you have a Linux dedicated server, you can fix this problem. In root WHM, go to Email >...

550 Error : Dictionary Attack

Dictionary AttackA method often used by spammers. They send various emails or passwords to a...

Are you able to receive emails but not send?

If you aren't able to send this usually means one thing... your internet provider is blocking you...

Are you able to send emails but not receive?

Either your domain is over quota, or your e-mail address itself is over quota. You will need to...


Box Trapper returns a confirmation email to senders, who must reply before their email is...