Results 1 to 9 of 9
  1. #1
    Sgt. Joe Friday frank3iii's Avatar
    Join Date
    January 18th, 2005
    Posts
    441
    I recently got rid of my form mail script. Too much abuse. Here are a couple of alternatives you may want to check out.

    First one uses character entities to confuse the spammers robots:
    http://spam.getnetwise.org/tips/mask

    This one uses a simple css trick:
    www.stunicholls.myby.co.uk/menu/email.html

    I like the second one best, but both should be effective.

    Frank
    "Just the facts, Ma'am." Sgt. Joe Friday, Dragnet

  2. #2
    Full Member
    Join Date
    January 18th, 2005
    Location
    UK
    Posts
    273
    A long while ago I wrote some Javascript to hide email addresses which is still up at
    http://www.wynsoft.com/internet/javascript/mailto.htm

    However the CSS trick of having the email address in the HTML backwards is real clever

    Mix and match that with my Javascript and should be as safe as one can get.

    Les

  3. #3
    Moderator MichaelColey's Avatar
    Join Date
    January 18th, 2005
    Location
    Mansfield, TX
    Posts
    16,232
    Character entities will only stop the most basic of email harvesters.

    The CSS trick looks good if you only want to display your email address. It won't work with older browsers, and I don't think you can use it with a mailto: link.

    Javascript is definitely the way to go. If you use any canned Javascript to hid the email address, I recommend that you change it around just a bit. The most sophisticated email harvesters could easily be modified to extract addresses from the most common masking Javascripts.

    Of course Javascript doesn't work with all browsers, but you can always include some text explaining that the email addresses are masked inside a set of <noscript> </noscript> tags.

    A form (as long as it doesn't have the email address in the HTML fields) is also a good solution, but is inconvenient to many users and some percent of people enter the wrong email address so your response bounces--Frustrating!

    I mask all of my email addresses with Javascript and it's very effective.

    P.S. The link above in Les's message doesn't work. Here's the correct link.
    Michael Coley
    Amazing-Bargains.com
     Affiliate Tips | Merchant Best Practices | Affiliate Friendly? | Couponing | CPA Networks? | ABW Tips | Activating Affiliates
    "Education is the most powerful weapon which you can use to change the world." Nelson Mandela

  4. #4
    Full Member
    Join Date
    January 18th, 2005
    Location
    UK
    Posts
    273
    I don't understand why the link was wrong as I had done a copy and paste from a page in the browser to ensure that it was right.
    Albeit that I hadn't used the Insert URL Hyperlink button.

    Could it be that the ABW software is converting the "javascript" in the URL to be "java_script" for some reason.

    Les

  5. #5
    Internet Cowboy
    Join Date
    January 18th, 2005
    Posts
    4,662
    I make a simple image file to show e-mail addresses where I use them.


  6. #6
    ABW Ambassador
    Join Date
    January 18th, 2005
    Posts
    2,419
    I'm with scohaz. We changed all of out stuff a while back, Email addr on an image and there aint no mailto: link proivided.

    We used to be bombarded with spam as well as some of the dumbest emails from visitors you could ever believe. It's much better since we made the changes we did and moved forward with that approach.

    A few sites we have do use a custom form that captures information from a php module, puts the info in the database and sends an email to an unlisted account which is forwarded to us as a heads up. This is not sendmail or common mail utility that is constantly looked for by spammers. I had sendmail on one site and the spammers spoofed it all the time. Never again!

  7. #7
    Sgt. Joe Friday frank3iii's Avatar
    Join Date
    January 18th, 2005
    Posts
    441
    Way to go Poon and scohaz!

    Hadn't considered an image.

    Thanks

    Frank
    "Just the facts, Ma'am." Sgt. Joe Friday, Dragnet

  8. #8
    Moderator MichaelColey's Avatar
    Join Date
    January 18th, 2005
    Location
    Mansfield, TX
    Posts
    16,232
    Yes, looks like ABW is inserting an underscore in javascript in your link. The one I put up got broken, too.

    Putting the email address in an image is effective, but isn't as friendly to site visitors. With the Javascript solution, it's still clickable.
    Michael Coley
    Amazing-Bargains.com
     Affiliate Tips | Merchant Best Practices | Affiliate Friendly? | Couponing | CPA Networks? | ABW Tips | Activating Affiliates
    "Education is the most powerful weapon which you can use to change the world." Nelson Mandela

  9. #9
    ABW Founder Haiko de Poel, Jr.'s Avatar
    Join Date
    January 18th, 2005
    Location
    New York
    Posts
    21,609
    Security function -> don't want any malicious code to be loaded.

    The link is:
    <pre class="ip-ubbcode-code-pre">http://www.wynsoft.com/internet/javascript/mailto.htm</pre>
    Continued Success,

    Haiko
    The secret of success is constancy of purpose ~ Disraeli

  10. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Using PHP to gather email address from bounced email
    By Code Monkey in forum Programming / Datafeeds / Tools
    Replies: 1
    Last Post: August 22nd, 2008, 11:09 AM
  2. AM sends email out to Affiliate list with our email Address Showing
    By glittered in forum Commission Junction - CJ
    Replies: 27
    Last Post: January 27th, 2007, 12:06 AM
  3. Email address ina SQL database... How to send out mass email?
    By jackson_media in forum Programming / Datafeeds / Tools
    Replies: 4
    Last Post: February 12th, 2006, 04:54 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •