1.
We know that spambots look for the mailto: and @ symbols. Some reports show good results when using uni-encoded characters or html character entities to hide only these two elements of an email address. So that, (please use view source to see code) ASCII and HTML code table at Killersites.com |
2. Others will argue that completely obfuscated email address is the best method. Here's an online utilty to do this. It differs from most because it will uni-encode everthing including the mailto link whcih most online utilites leave intact. An Example: EMAIL US (please use view source to see code) |
3. There are a couple javascript masks that I have used to break apart the mailto: link and then reassemble it. It has been common practice to assume spambots don't bother reading .js, however, recent research may indicate otherwise. I haven't run into too many problems with it however. Get these on another web page that opens a new window. |
4. Images can be an effective method. Remember that the image is not to be written as a link itself, otherwise it would be ineffective.
Hold your mouse over the image to see the alternate text. Notice how it doesn't list the email as mymail@mydomain.com but provides instructions on how to use. |
5. Name Intelligence offers thier custom encryption image processor to the public. To see how they protect email addresses, perform this look-up for the killersites.com website. Next, use the following link to visit their Free email protection script utility. |
6.
Mailmask.net has a free utility that will mask your email using javascript. A visitor wishing to send you an email clicks on your link which opens a small window requesting the visitor to first input a server generated image of characters. Once completed, the viewer gains access to your email address. There is an example on their home page at http://www.mailmask.net |
7.
PHP forms offer the best functionality and customization. Some basic benefits of most PHP email scripts: email masking, validates the user's email address, required form fields, customizable error and confirmation pages, some will collect the sender's IP address and some will encrypt the message. Below are examples of PHP email scripts for use. You might also visit a site like, The New World for more choices. Some suggestions: save the php mailer script into a separtate directory with indexes turned off (apache web server); You can still obfuscate your email address that is entered into the php mailer script for added protection; generally spambots ignore Robots.txt and any meta tags that deny entry into a directory, however, it is good practice to do this anyway for an added layer of protection. |
8.
Spambots will not follow a Post command in a <FORM> so a Perl program can be used: script originally found on http://www.turnstep.com/Spambot/ 1. Create a perl file called nospam.pl and save it into your server's cgi-bin.
2. Add this form where you would like to place a link to your email: |
9.
Additional Resources All links open in a new window
|
Credits:
Written by John D. Beatrice of MaineWebworks ©2005 http://mainewebworks.com
Originally prepared and posted for Killersites.com forums. View the Post.
Contact Information: http://mainewebworks.com/contact.php