Skip to main content

Contact Form 7 spam

Contact Form 7 honeypot not working: what spam can a honeypot stop?

The short answer

A honeypot is a hidden field people never see. A message is marked spam only when that field comes back filled in, so it catches robots that fill in every field. Robots that leave it empty, and people typing sales pitches, get through. Contact Form 7 has no honeypot of its own: it comes from an add-on, which has to be switched on and have its tag in your form.

How a honeypot works in Contact Form 7

Contact Form 7 doesn’t include a honeypot. A honeypot add-on gives you a [honeypot] form tag, and the field that tag draws is hidden from people on the page.

When the form is sent, the add-on looks at that field:

  • Something in it: the message is marked spam, and the spam log reads “Something is stuck in the honey.”
  • Empty: the honeypot lets the message through.

Some honeypot add-ons also have a time check you can switch on. A form sent faster than a set number of seconds is marked spam, with a log line that says it was “submitted too fast”.

Check that yours is on

  • The tag is in the form. The add-on checks only forms that contain its tag. A form without one isn’t checked at all.
  • The add-on is switched on. Switched off in its own settings, the tag draws nothing and no check runs.
  • If your pages are cached, look in your add-on’s settings: some have a separate mode for cached pages.
  • Look at what it caught. With Flamingo active, Contact Form 7 saves the messages it marks as spam. Under Flamingo → Inbound Messages → Spam, open a message and read its spam log.

What a honeypot can’t stop

  • Robots that leave the field empty. A honeypot only catches a robot that fills in its hidden field. One that fills in only the fields it needs gets through.
  • People. Someone typing a sales pitch or an SEO offer sees only the real fields. The hidden one stays empty, and the message arrives like any other.

reCAPTCHA has the same gap, for the same reason: it tells robots from people. See our reCAPTCHA checklist.

What to add for the spam that gets past

Spam Shield reads the message itself. It works with Contact Form 7 and WPForms:

  • It checks each message after Contact Form 7’s own checks, the honeypot included, have passed it, just before the email goes out.
  • A message that looks like spam is held on Settings → Spam Shield → Blocked messages instead of emailed. The sender isn’t told it was held.
  • If a held message was real, Not spam: deliver it sends the form’s normal email.
  • If the check is slow or down, the message is delivered as normal.

The free key covers 50 checks a month. A message the honeypot already marked as spam never reaches Spam Shield, so it uses none of them.

More questions

Does Contact Form 7 have a built-in honeypot?

No. A honeypot comes from an add-on, which gives you a [honeypot] form tag to put in each form you want checked.

Why is spam still getting through my honeypot?

Either the robot left the hidden field empty, or the message was typed by a person, and a honeypot stops neither. Also check that the add-on is switched on and that its tag is in the form.

Can a honeypot block a real customer?

It can if the hidden field gets filled in, for example by a browser filling in a form for the visitor. Honeypot add-ons set the field up to stop that, but if it happens the message is marked spam and no email is sent.

Do I still need a honeypot if I use Spam Shield?

You can keep it. A message the honeypot marks as spam never reaches Spam Shield, so it uses none of your monthly checks.

Try Spam Shield on your form

A free key checks 50 messages a month. No card. Pro checks 5,000 a month.