How to stop spam through a website contact us email address

Associate
Joined
18 Jun 2003
Posts
275
Location
Alford, Lincs
Hi all


Basically as the title. I get lots of spam through a c ontact us email address on a website I have.

How do you stop it at root, other than my anti virus software running under my email client.


thanks in advance

Denz
 
Stick an extra field on the contact form, call it something innocuous like "website", use CSS to hide it and then don't process the form for any submissions you get where that field is filled out.

Idea being that humans don't see it, so don't fill it out. Robots see it (they don't parse the styling), and fill out everything, so fill it out. If you're worried about non-CSS using humans, then you can stick some text next to it saying "Don't fill this box in".

Simple :)
 
Well that or a captcha on the form, to actually stop spam submissions. As opposed to the above which just highlights them, or both because bots are getting pretty good with captchas now days :p
 
Well that or a captcha on the form, to actually stop spam submissions. As opposed to the above which just highlights them, or both because bots are getting pretty good with captchas now days :p

It doesn't highlight them if you code your script to reject any submission with the "special" field filled out. You don't see them at all.
 
Stick an extra field on the contact form, call it something innocuous like "website", use CSS to hide it and then don't process the form for any submissions you get where that field is filled out.

Idea being that humans don't see it, so don't fill it out. Robots see it (they don't parse the styling), and fill out everything, so fill it out. If you're worried about non-CSS using humans, then you can stick some text next to it saying "Don't fill this box in".

Simple :)

Sorry should have explained I aren't using a contact us form, just a contact link which opens the users email client (Outlook Express Etc). So I assume the spammers can walk over this. I assume therefore looking at the replies so far I should change to a contact us form??


Thanks
 
Sorry should have explained I aren't using a contact us form, just a contact link which opens the users email client (Outlook Express Etc). So I assume the spammers can walk over this. I assume therefore looking at the replies so far I should change to a contact us form??


Thanks

Ah, yes.

Contact forms > mailto links.
 
Back
Top Bottom