October 27th, 2010, 07:02 AM
Protect email address from spammers
Hi. Suppose I have an email.
I encode the email to hex coding by php,
In coding it looks like this.
<a href="mailto:hex coding">test[at]test.com</a>
I need to know is this correct to protect my emails from spammers.
Or I need to encode "test[at]test.com" too?
October 27th, 2010, 05:02 PM
If you have a clear text e-mail address in you code, it is not protected.
You could use another text which the user click on, for example "Send e-mail".
October 27th, 2010, 11:05 PM
You mean if I write
Originally Posted by MrFujin
<a href="mailto:hex coding">Send e-mail</a> it will be ok?
What if write <a href="mailto:hex coding">hex coding 2</a>
where "hex coding 2" is test[at]test.com or even my clear e-mail.
October 28th, 2010, 12:45 AM
If you mean hex coding as in the AASCI letter values, then yes, you will be able to mask your email address from human visitors, until they click on the link.
The only way to stop your email addres from being harvested like that is to not include it at all. So, you'd build a 'contact us' form, and have your server do all the processing and never have your email address visible anywhere on the page.
Then there's the other issue that SPAM'ers don't just go harvesting, although it does make it easier for them. Most of the addresses that they get are found from adding everything from a huge list of common email addresses to every domain name that they can get, sending out and seeing what doesn't bounce back.