Forum Moderators: open

Message Too Old, No Replies

How to write email addressess to prevent spam

email prevent spam

         

zoffmann

5:34 am on Apr 1, 2008 (gmt 0)

10+ Year Member



Hello,

how can I write contact email addresses on my web pages and avoid to get spam ?

somebody writes something like this myname (at) mydomain.com

which other ways are to accomplish this task?

best regards
zoff

drooh

6:04 am on Apr 1, 2008 (gmt 0)

10+ Year Member



some people have used flash for this, i use a thing called mail to encoder. you can search for "mail to encoder solmetra". other than that use a contact form to avoid showing email addresses period.

penders

1:10 pm on Apr 1, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I have in the past marked up the email address like:
<span class="antispam">someone -at- example -dot- com</span>

And use JavaScript onload to turn this into a mailto: anchor. Email scanning bots aren't supposed to run JavaScript(?) and it appears at least human readable if JS is disabled. However, I am beginning to wonder how clever the email collecting bots are? This isn't a particulary difficult pattern to pick up with a regular expression. Will they bother? I have still received spam to email addresses obfuscated in this way, but it is possible that this may have come from other sources...