[SpamCop.net - protecting the internet through technology]

[SpamCop-List] Re: mailto: suggestions

Jim Seymour jseymour at spamcop.net
Tue Feb 3 13:19:34 EST 2004


Thomas Mooney wrote:
> Can anyone suggest a good method of providing e-mail links on a web page
> without inviting spammer bots to harvest them?

Hiding an email address by encoding it with HTML and/or Javascript 
tricks is, at best, a short-term cure - and at worst, will give you a 
false sense of security while providing none.

If the spammers' robots don't know how to decode hidden mailto links by 
now, they will soon.

My preferred solution is to use a custom CGI script with an hard-coded 
destination email address.  The user has to fill in the message in a web 
form, rather than using his own mail client - but in my opinion that's a 
small price to pay for the protection it provides.

Naturally, this solution isn't feasible unless your web host allows you 
to run custom CGI scripts.

-- 
Jim Seymour.
I do not work for Spamcop, I did not write pflogsumm,
and I never wrote for PC Magazine.


More information about the SpamCop-List mailing list