Aviation Web Development

Don't use mailto: Links

The original purpose of mailto: links was to allow users to click on a link on your website and send you an email, a very sensible idea. Unfortunately these links now get abused by spammers who will harvest your email address straight out of the webpage and put you in a database of not so willing recipients of their spam emails.

There are plenty ways around the mailto: problem, some solutions are

  • Use images instead of putting your email address in the page.
  • Use a piece of JavaScript to add some Java code to the page that has the same effect as the link itself.
  • Encode your email address and use JavaScript and reassemble it when needed so it cannot easily be harvested.
  • Describe your email address to a human reader, so the spambots cannot see it.
SQL Server