There are tons of methods out there to spam-proof a mail:to link. While no method is completely spam-proof, some of the methods out there just don’t make any sense.
1. The Wrong Way
This code was found under several articles on how to spam-proof a mail:to link. The obvious problem with this method is that most email harvesting bots download the source code of a webpage, in which the email in this code is clearly displayed as “email@example.com”. Any script that uses your email in plain text is entirely ineffective against email harvesting bots.
2. The Complex Way
We found this method on a few more articles about hiding emails. We didn’t even want to mess with this. Hiding an email shouldn’t be this difficult!
3. The Right Way
Short and sweet. This example is protecting firstname.lastname@example.org; simply replace “example” with the first part of your email, and the two “abc.com” parts with the second half.