Spammers use harvesters to get emails to add to their lists, thus posting your email on a public webspace has always been the surest way to get spam. Many people have taken to posting their emails in these formats:
name AT hotmail DOT com
Those tricks are intended to fool email harvesting programs while not fooling humans, but as always some of the humans are fooled too.
var name = "name";
var domain = "domain.com";
document.write('<a href=\"mailto:' + name + '@' + domain + '\">');
document.write(name + '@' + domain + '</a>');
In the above code you must replace the following red parts (with the blue part of the example emails):
var name = "name
"; (e.g. name
var domain = "domain.com
"; (e.g. [email protected]hotmail.com
I will post some even better email cloaking tools in the future.