Computer Hope

Internet & Networking => Web design => Topic started by: Spitfire70 on June 07, 2009, 06:14:02 PM

Title: Adding an email link but remain unseen?
Post by: Spitfire70 on June 07, 2009, 06:14:02 PM
Hello. I was wondering if anyone knew how to add a "contact me" link to a website (html) but keeping the email address private? So, I want to add "Contact me here" as a link to my email address but not have it shown. I use Firefox if that helps. Thanks a ton!  ;D
Title: Re: Adding an email link but remain unseen?
Post by: Rob Pomeroy on June 08, 2009, 06:05:55 AM
The best way is to have the emailing processed by the web server - if you're using PHP or some other web programming language.  Failing this, it is virtually impossible to prevent email addresses being harvested off a web page.  You can try email obfuscation (http://www.alistapart.com/articles/gracefulemailobfuscation) but since it's a known technique, spammers can work their way around it.
Title: Re: Adding an email link but remain unseen?
Post by: kpac on June 08, 2009, 09:01:30 AM
Here (http://www.w3schools.com/php/php_mail.asp) and here (http://www.w3schools.com/php/php_secure_mail.asp) are examples of sending mail with PHP. The second being more secure.