Contact Form

Contact Form

A Perl script that you can run on your website that will allow others to send you email through a web interface. Unlike other web to email gateways, Contact Form is designed to thwart spammers. It does not allow email to be sent to unknown addresses, nor does it reveal addresses that it knows.

Work Flow

Use case: User wants to contact you using this email form script.

Design Goals



  1. Download the contactform archive.
  2. Extract the contents of the download.
  3. Place in your webserver's cgi-bin directory or another place that allows scripts.
  4. Edit to change the email addresses to which email can be sent.
  5. Optional - Change any other parameters in to taste.
  6. Point your web browser at on your server.
  7. Send yourself email through the web.





Keep up to date

The following sites are updated about new releases. Follow or like contact form in one of the following places to be kept up to date:

Bugs and Feature Requests

Bugs and features are tracked using Bugzilla.


Contact form can be easily translated. See instructions in the file of the download. To submit a translation for a new language, use bugzilla to open a new feature request and attach the translations. It currently comes in the following languages:



This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Other Web to Email Gateways

Matt's FormMailOpen source, freeware, must obtain permission to distribute.Perl, SendmailMost commonly used, does not hide email addresses, often used as an open relay.
nmsOpen source (GPL or Artistic)PerlA replacement for all of Matt's scripts including FormMail. Can send directly to an SMTP server without sendmail. Does not hide email addresses.
MailWebFormOpen source (GPL)Java, Java Servlets, Java MailHides email addresses.
SCFormOpen source (GPL)PHP, SendmailHides email addresses.

Copyright (C) 2002-2020 Stephen Ostermiller (site index)