Hiding Your Email Address

Hiding your email address from the spammers while still allowing visitors to your site to use it to contact you is not an easy task. The spammers use automated search programs (sometimes called spam spiders) to search the internet looking for email addresses that they can send their spam to. These programs are becoming more sophisticated as time goes on at identifying email address links that you have tried to conceal from them.

The following form allows you to create two different versions of your email address link that are obscured in the hope that the spam spiders wont recognize them as email links.

The simpler option is just an obscured version of the corresponding HTML using ampersand code equivalents to some of the link. A couple of the letters are not converted in the hope that those spam spiders that test for this form of concealment will expect all of the letters to be similarly concealed.

The second option creates a JavaScript that creates the link and your visitors must therefore have JavaScript enabled to use the email link. In this instance the obscured HTML is used as the source for a second layer applied in JavaScript in the hope that the spam spiders that can handle the one type of obscuring cannot handle the other (or at least not both together).

To use this form type the name that is to appear on your page as the link, the email address that you want to link it to, and select which version you want to convert it to. Select 'Conceal Email' and the email link code will be generated and obscured. You then simply copy the generated code and paste it into your web page where you want the link to appear.

Email Address:

The other (more secure) alternative is to use a form to generate the email and have the address added server side when the email is sent. This has the advantage that your visitors don't need to have an accessible email program in order to create the email but has the disadvantage that they don't get the opportunity to save a copy of the email on their own computer.


This article written by Stephen Chapman, Felgall Pty Ltd.

go to top

FaceBook Follow
Twitter Follow