Can I use Matt's FormMail?
16 Feb 2004 05:29 PM
Due to security issues with FormMail from Matt's Script Archive, we do not allow that script on our servers. We do have a replacement formmail script that works exactly the same, only it is much more secure.
By default, we install a copy of this formmail script on each new hosting account. The file will exist at
(replace DOMAIN.COM with your domain/website name) and the full help file for customizing it are at
. There are 2 lines in the formmailer.pl script that you will have to edit to make it work for your account. You should use an editor like notepad, but not wordpad or MS Word to edit the file. These 2 lines that need to be changed are:
@referers = qw(dave.org.uk 188.8.131.52 localhost);
@allow_mail_to = qw(email@example.com
In the example below, your website name is "DOMAIN.COM" and you want your form data to get emailed to "boss@DOMAIN.COM". Your edits would look like this:
@referers = qw(DOMAIN.COM);
@allow_mail_to = qw(boss@DOMAIN.COM);
You can also download this at
or from the programmers website,
(compat version) .
If you get stuck, you can ask us to install it for you. Just email
with your request, website address to your HTML form and where you want the emails sent.