Search code examples
htmlemail-spam

Does HTML Encoding a mailto tag stop spammers


I think its fairly common practice these days not to include a mailto: tag in your webpage. I also realize that a better solution is to have a contact us form.

Recently I've seen some mailto tags that include and HTML encoded email address. Is this an effective way to stop spammers from attacking an email address?

Example:

<a href="mailto:&#110;&#101;&#119;&#098;&#105;...">email me</a>

Also, are there any other techniques that I've left out? Which is the best method?


Solution

  • From what I've heard, it will help reduce the influx of spam but will not stop it entirely. A minority (for now) of email-address-harvesting bots are smart enough to apply the decoding.