So, the common concern is:
If I put my email address "out there" on the web that spammers will get it and start sending me spam messages.
Well, that is a valid concern. There are scripts and crawlers which go around and look for email addresses. (And lets suppose that they also do not check for a robots.txt file.) These generally work by focusing on the syntax of the email addresses using Regular Expressions or finding the mailto:
term in the HTML code. There are some things which can be done to prevent this from happening.
- The best way is to use contact forms.
- The second best way is to use JavaScript hiding. (Go here to read how to do this if you are running your own HTML pages, or here if you want a site which will create a JavaScript for you.)
- The third best way is to use HTML characters for your email addresses.
- One way that I severely dislike is to spell out the email address or phone number like (you see a lot of this on sites like craigslist and after a few spam text messages one understands why it is done):
seven-one-seven
or hughdot
patersonat
.