Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

How to get rid of automated emails

need help



5:42 am on Jul 26, 2008 (gmt 0)

5+ Year Member

Hi, All

There is someone who is targeting my site and sending me more then 50 mails per day. All are spam mails. I have added a verification code using javascript but still getting many mails.
And the problem is that i can't develop verification image in php or asp bcoz there are around 300 html pages in my site that includes booking form.

I need your help to find out how i can block some one from sending such mails.
when i checked mail server it shows - mailed- bycoleman.example.com

Please help me.


Dinesh Sharma

[edited by: dreamcatcher at 7:01 am (utc) on July 26, 2008]
[edit reason] use example.com. Thanks. [/edit]


10:02 am on Jul 26, 2008 (gmt 0)

10+ Year Member

JS verification will do f**k all. Bots bypass them, hence why you should always do server side verification.

I suggest the honey pot method. This should solve most of your spam. It's actually really simple but at the same time very effective.

Add a few fields to your form. Call them subject, body, name, etc, things that are generic to most forms on the web. Now, wrap these form fields in a div and place a CSS class on that div with a non obvious name, e.g. 'farmerted', and add 'display:none' to the class. This will hide the form fields from normal users.

It's best practice to put a note after the open div tag and before the first form field saying something like 'If you can see these fields, please do not fill them in'.

Now, all you need to do when the form is submitted is check if those hidden fields have content. If they do, a little spam bot has been a crawlin' and you return an error saying 'Invalid Form Submission' or something.


9:57 pm on Jul 26, 2008 (gmt 0)

5+ Year Member

Dear Sekka Thanks alot for your suggestion. I think it should work for me.

You guys are so helpful. Thanks Again.


11:36 pm on Jul 27, 2008 (gmt 0)

10+ Year Member

you could add a question to the form (1+1=) and then check the answer before sending.

Or use captcha verification.

Just my 2 cents :)


Featured Threads

Hot Threads This Week

Hot Threads This Month