Maaz Zindani

Loading the index…

↑↓ move↵ openesc close4072 pages

Help for owners

My website contact form gets dozens of spam messages every day

Short answer

Bots find forms by scanning pages and post to them directly, so hiding the form does not help. A bot check such as reCAPTCHA or Turnstile only works if your server verifies the result, because a check shown in the browser alone can be skipped. Add the check, a hidden trap field and a rate limit, and keep a way to see what was blocked.

  • Written for business owners
  • Updated
  • By Maaz Zindani, Senior Software Engineer

Does this sound like your situation?

  • Dozens of junk messages arrive daily, often with links or odd text.
  • Real enquiries are buried or my email provider now flags the form emails as spam.
  • I already added a CAPTCHA and the spam did not stop.
  • The spam arrives even when nobody opens the page.
  • I am afraid a stricter filter will block genuine customers.

Why does this happen?

  1. Bots post straight to the form's address

    A bot does not need to open the page like a person. It finds the form, copies its address and fields and sends data to it directly. Anything that only exists in the visitor's browser is not seen by that bot.

  2. A CAPTCHA on the page is not enough on its own

    Google's reCAPTCHA documentation says the server must verify the token, by sending it with your secret key to Google's verification address. A form that shows the widget but never checks the token on the server does not block anything.

  3. Tokens expire and can be used once

    The same page says a token expires after two minutes and can be verified only once, to prevent replay. An expired or reused token returns an error. Forms that keep a page open for a long time, or verify twice, can reject real people.

  4. Challenge-free options exist

    Cloudflare describes Turnstile as a CAPTCHA alternative that runs small non-interactive challenges and adjusts difficulty per request, so most visitors do not see a puzzle. It can be added to any website without routing traffic through Cloudflare.

  5. Real people also send spam

    Some of the messages are typed by humans pitching services or links. A bot check will not stop those. Content rules, such as blocking messages with several links, handle them.

What can I do about it today?

  1. Do not delete the formYou would lose real enquiries too. Put up a visible phone number or email in the meantime if the form matters to your sales.
  2. Find out what the form usesIs it a plugin, a form builder or custom code? Ask your developer or look at the plugin list. The right fix depends on it.
  3. Turn on the form tool's own spam protectionMost form plugins and builders have a built-in setting for a CAPTCHA or a hidden trap field. Switch it on and test with a real message.
  4. Make sure someone checks the result on the serverIf you added a CAPTCHA and spam continues, ask the person who set it up whether the server verifies it. That is the common gap.
  5. Test once as a real visitorSend yourself a message through the form, from a phone, and confirm it still arrives and does not land in spam.
  6. Save a few examplesKeep three spam samples. They show what to filter, such as links or certain words.

When should I bring someone in?

  • Spam continues after a CAPTCHA is added.
  • Real enquiries stopped arriving after a change.
  • The form triggers emails or entries in a CRM, so spam also pollutes your records.

How do I handle it?

  1. Trace the submission pathFrom the browser, to the form's address, to the email or CRM, I find where a bot can enter and where checks are missing.
  2. Add checks on the server, not just in the pageToken verification, a hidden trap field and rate limits by address are applied where the data arrives.
  3. Filter by contentMessages with many links or known patterns are held and not deleted, so a real lead is never silently lost.
  4. Keep the leads visibleA simple log of accepted and held messages lets you check the filter, and a held message can be released.
  5. Protect the email side tooForm emails come from a properly set-up sender, so real enquiries are not flagged as spam.

The price depends on what I find, so I quote in writing after a short discovery call. Tell me what is happening and I reply within 24 hours.

What do owners ask about this?

Which is better, reCAPTCHA or Turnstile?

Both are documented by their providers. Choose on privacy preferences and what your form tool supports. Either needs server-side verification to be effective.

Will a CAPTCHA reduce my enquiries?

A visible puzzle can put people off. Options that run in the background show fewer challenges.

Can I just add a hidden field?

It stops simple bots at almost no cost, and it is better combined with a server check.

Where do the spam messages go?

Into your inbox, a database or a CRM, depending on how the form is built. Clean-up differs for each.

Sources

How was this page made?

I drafted this page with AI assistance from the official documents listed under Sources. Found a mistake? Tell me.

For your developer: the technical fixes

Next step

Want this off your desk?

Send me a few lines on where things stand. I reply within 24 hours.