Are you getting lots of spam through your contact form? If you want people to contact you from your website or blog then you must have a contact form. Although you can simply publish your email but most of the times it is not advisable, as it may invite spam even more.
Most of the spam that comes to you through your contact form is sent by spam bots, and it rarely comes from manually submitting the contact form. When people send you spam manually you can easily control it, but controlling spam bots and spam programs can really turn out into a full-time job.
You can even use Captcha but this is a bit difficult and not every server supports it. The easiest way of stopping spam through your contact form is asking a question that only a human being can answer.
A typical form asks for a name, an email, and the message. You can add another text box that asks a question like, what is the capital of USA, or what’s the total of 1+1+1.
Then, in the PHP script that processed the form fields and sends you the email, verify the answer. Send the email only if the answer is correct.
Share

