Making email addresses safe from bots on a webpage?

前端 未结 22 1843
不知归路
不知归路 2020-12-02 08:09

When placing email addresses on a webpage do you place them as text like this:

joe.somebody@company.com

or use a clever trick to try and fo

22条回答
  •  既然无缘
    2020-12-02 08:23

    It depends on what exactly your needs are. For most sites with which I work, I have found it far more useful to put in a "contact me/us" form which sends an email from the system to whomever needs to be contacted. I know that this isn't exactly the solution that you are seeking but it does completely protect against harvesting and so far I have never seen spam sent through a form like that. It will happen but it is very rare and you are never harvested.

    This also gives you a chance to log the messages before sending them giving you an extra level of protection against losing a contact, if you so desire.

提交回复
热议问题