Welcome to WebDesignForums.net!
You're currently viewing WDF as a guest. By registering for a free account, you'll be able to participate with other members in our friendly community. Being a member allows you to ask questions and get answers for those troublesome web development tasks!

In addition, as a member you'll be able to post your websites up for review. Using our unique website review system you can gain some amazing feedback from some of the best web developers around. This is a completely free service to all registered members.

Ready to register yet? Registration is 100% free. Click Here To Join Now!

how do you trick the spam? re: email forms

Discussion in 'Search Engine Optimization / SEO' started by annieh, May 13, 2004.

  1. Offline

    annieh New Member

    Message Count:
    1
    Likes Received:
    0
    Trophy Points:
    0
    I have a client who is getting tons of spam due to their company website. The ole' info@ is inundated w/spam, how can I set up their email form so it the crawlers can't pick it up?

    thanx!

    annie


  2. Offline

    xarst New Member

    Message Count:
    1,274
    Likes Received:
    0
    Trophy Points:
    0
    In place of setting just the adress plainly, put something like:
    mrhyde[at]jekyll[dot]com

    Or, use this script: http://www.wbwip.com/wbw/emailencoder.html
    That script translates the normal letters to AASCI (or ASCII?) characters, so spam bots don't detect them


  3. Offline

    blackbird New Member

    Message Count:
    100
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    San Francisco, CA
    I use a JavaScript bit for some of my sites, which seems to work well. It goes something like:

    <script language="JavaScript">
    <!-- Begin
    user = "user";
    site = "domain.com";
    name = "Display Name Here";
    document.write('<a href=\"mailto:' + user + '@' + site + '\">');
    document.write(name + '</a>');
    // End -->

    And like xarst suggested, doing a me_at_domain.com or something similar tends to be good for the display link.


  4. Offline

    TheGAME1264 The Displaced Web Redneck Moderator

    Message Count:
    9,410
    Likes Received:
    1,259
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Not from USA
    annie: at this point, there's not going to be a lot you can do. Once the spam bots pick it up, it's sold, transferred, and generally passed around like a 7th-grade love note.

    There are some steps you can take, however, to first stop the bleeding, then repair some of the damage:
    1. if you want to stop bots from picking it up, create a form that sends out email to info@(whatever.com), but conceal the address using server-side programming (a language such as ASP/PHP). Do not use Javascript or a hidden form input, since that is client-side code and as such spam bots can read it and eventually decode and harvest it.

      I'm not going to go into detail on exactly how to program a server-side form-to-email, since this really depends on the language selected.
    2. Use your host's webmail interface (a good host will provide you with one for checking email) to set up processing rules to filter out the obvious spammers. It will be a lot easier for you to filter out the keywords as opposed to the spam emails themselves, since domain names and email addresses changes, but words such as "Viagra", "XXX", and "Virgin Teens" have a lot less variance (I apologize to anyone I may have offended, but I provided those phrases as illustrative example only.)
    3. For every spam you get after you've got the rules put in (and you'll have to update them a few times before you get them quite right), check to see if there's a "remove" hyperlink. If there is, indicate that you wish to be removed.

      Back in the day, this usually meant your email address would be sold even more, but thanks to some tougher restrictions (primarily by the US government), spammers have to dump your email address and usually do.

      If you're not sure if a spammer will dump your email address, enter in an alternate email address (I usually create email addresses and point them to a Hotmail account I use for this purpose) and see if the spam level increases. If it does, don't bother with the removal.
    If you still need to publish an email address directly on a site, which you shouldn't, then the best thing to do is to embed it into an image and not hyperlink the image. Spambots can't read the pixels on those. They just see one big black ugly square.

    And if you really want to filter out spam, you can talk to Erik Warmelink and install his anti-spam filter on your server. Erik Warmelink is a rather hermetic young man from Holland who is convinced that 99% of emails that come from North America are unsolicited and therefore are spam. So you likely will never get anything, but at least the spam will all be gone!

    Firewall 'em all and let God sort 'em out! That's the Erik way.


  5. Offline

    mossoi Active Member

    Message Count:
    1,111
    Likes Received:
    1
    Trophy Points:
    36
    Location:
    Englandshire, United Kingdomsville y'all!
    That figure probably isn't that far from the truth for a lot of countries.


  6. Offline

    TheGAME1264 The Displaced Web Redneck Moderator

    Message Count:
    9,410
    Likes Received:
    1,259
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Not from USA
    I don't know on that, mossoi. Even in countries where spam runs wild and free (North America is a continent, by the way), there are personal emails and things people are expecting. I can't see the number, even in those countries, being any higher than 50-60%.

    And in North America, it's got to be lower than that, since both Canada and the US (I'm not sure about Mexico and Central America) have anti-spam legislation. Personally, I would say that about 30-40% of the emails I get are spam in nature. 99%? That's just wrong.

    Anyway, look up the name "Erik Warmelink" on Google or something. You will see a very, very bitter and angry young man. Some of what he says is right, but he's just got his head shoved so far up his keester that he can't see the light unless a proctologist does an exam.


  7. Offline

    mossoi Active Member

    Message Count:
    1,111
    Likes Received:
    1
    Trophy Points:
    36
    Location:
    Englandshire, United Kingdomsville y'all!


  8. Offline

    Wired WDF Moderator and Alien Overlord

    Message Count:
    7,598
    Likes Received:
    133
    Trophy Points:
    63
    The official figure of worldwide spam % used to be 33 %, I think it's gone up to 50 % now.


  9. Offline

    TheGAME1264 The Displaced Web Redneck Moderator

    Message Count:
    9,410
    Likes Received:
    1,259
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Not from USA
    One way or another, it's not 99% in North America. That would imply that 1 in every 100 emails is actually worth reading. Our boy Erik needs to get himself some Valium and relax.

    [searchweb]Erik Warmelink[/searchweb]

    Check out some of his forum and message board posts. (For those who are easily offended, don't read the webservertalk.com one. That one almost shocked me a little. That's very hard to do.)


  10. Offline

    mossoi Active Member

    Message Count:
    1,111
    Likes Received:
    1
    Trophy Points:
    36
    Location:
    Englandshire, United Kingdomsville y'all!


  11. Offline

    ironhacker Procrastinator

    Message Count:
    872
    Likes Received:
    0
    Trophy Points:
    16
    Gender:
    Male
    I hate spam...right now I'm getting some russian crap and some very interesting Val1um, V1a-gra or other emails... :)


  12. Offline

    mossoi Active Member

    Message Count:
    1,111
    Likes Received:
    1
    Trophy Points:
    36
    Location:
    Englandshire, United Kingdomsville y'all!


Share This Page