Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
May 22, 2012, 06:04:21 AM

Pages: [1]   Go Down
  Print  
Author Topic: Email encryption on website  (Read 14156 times)
reames2
Trekkie
**
Offline Offline

Posts: 11



« on: September 01, 2011, 01:44:40 PM »

Can anyone recommend a good "free" way to encrypt the mailto: email link? I am being inundated with spam and have missed emails from customers because of the filters I've made. I have googled "encrypting email on website" and the results are conflicting between html and java based encryption. Don't most people have the capability to use java when browsing? Or should I stay with an html based encryption?

Thanks in advance for your help!
Logged
wektech
Master Jedi
*****
Offline Offline

Posts: 1031



WWW
« Reply #1 on: September 01, 2011, 02:32:24 PM »

I use a combination of javascript and images to deal with the issue.
Code:
E-Mail:

                <script language="JavaScript" type="text/javascript">

    <!--//  Break email address into into components

    var lhs = "someuser";

    var rhs = "somedomain.com";



    function print_mail_to_link() {

        document.write("<A HREF=\"mailto");

        document.write(":" + lhs + "@");

        document.write(rhs + "\">" + lhs + "@" + rhs + "<\/a>");

    }

    // end hiding -->

</script>

  <script language="JavaScript" type="text/javascript">print_mail_to_link()</script><noscript>

  <img src="em1.gif" width="255" height="25" align="middle"></noscript>

The image is just the email address as an image for browsers that do not support javascript.

Once an email address is found by the mailbots, it will get spam for ever more so it is best to use this method with a new email account and let the old one die a slow death.
Logged

reames2
Trekkie
**
Offline Offline

Posts: 11



« Reply #2 on: September 01, 2011, 02:46:50 PM »

Thanks, wektech. I was afraid I'd have to change my email address. Well, I would rather do that than keep getting spammed! I'm going to copy what you posted and work on it to fit my (new) email address. Thanks again!
Logged
Jacobdixon
Pong! (the videogame) Master
*****
Offline Offline

Posts: 26


« Reply #3 on: November 14, 2011, 10:46:13 PM »

Does we as a developer need to apply any particular Encryption algorithm for creating a customized encription of email or is there any other way to perform it, can anyone reply me regarding the same
Hire PHP Developer
Logged
reames2
Trekkie
**
Offline Offline

Posts: 11



« Reply #4 on: November 14, 2011, 11:02:32 PM »

Okay. I have found a VERY easy way to encode your email. You'll be given a numeric encryption instead of using your email address on the page. You will see the encryption but anyone going to your page will see your email address. It is here: http://www.wbwip.com/wbw/emailencoder.html
Logged
jimlongo
Intergalactic Superstar
*****
Offline Offline

Posts: 147



WWW
« Reply #5 on: March 10, 2012, 02:44:45 PM »

Okay. I have found a VERY easy way to encode your email. You'll be given a numeric encryption instead of using your email address on the page. You will see the encryption but anyone going to your page will see your email address. It is here: http://www.wbwip.com/wbw/emailencoder.html

I've had a lot of success using this html entities method listed above to avoid having email addresses harvested.

Of course the best method is to use a form for contact that avoids having your email address listed anywhere.  TFmail is pretty easy to setup.
Logged

Pages: [1]   Go Up
  Print  
 
Jump to: