Title: Dimke's Email Form
Picture: Dimke's Email Form Screenshot
Explanation: Send email messages from an html email form on your web page without showing your real email address.
This protects you from getting spam because your email address doesn't show up on the page and even if the sender clicks on "send me a copy of this message" your real email address will not be contained in the message the sender gets

Working example

How it works: The email form is written in simple html. So you can either copy it and load it from your page using a link to it, or, you can copy the source code into an existing page.
When clicking on "Send" this email form calls a Perl script which first checks if every field is filled out correctly.
This version uses "taint checking" which means that it is "hacker proof".
The next step is invoking Unix sendmail to deliver the email to your address.
Finally the sender gets a dynamically generated html page which says that the email has been sent.

SECURITY issue:
Unlike buggy applications like "formmail.pl" et alii, "Dimke's Email Form" checks the email address passed to it - for details have a look to the source - for causality. This is accomplished by counting the total number of occurences of the "@" - character, which has to be there exactly once, as well as the dot, which may occur once or more times, to be a valid email address.
So, if a "spammer" tries to pass hundreds of email addresses from "spamming victims" to "Dimke's Email Form", this data will simply be refused!

How to use: Unpack the zip file and copy the html email form into your html documents' directory. Then copy the Perl script into your local cgi directory and set the variables like the system path to sendmail / qmail, your email address, the background you want to be loaded etc. in the html page as well as in the Perl script.
Be sure that the html page is readable for Apache and the Perl script is set to be executable (chmod it at least to 111)
Download Source: email.zip
[Developer Root] [Main Page]