Discover, trust, install: FAIR 1.0 is here

Plugin Banner

Spam Protect for Contact Form 7

by NYSL

Version: 1.2.9

Download
Description

Spam Protect for Contact Form 7, the ultimate solution to shield your website from the nuisance of spam and intrusive bots. With this incredible, user-friendly WordPress plugin, bid farewell to the hassle of sifting through irrelevant and unsolicited form submissions.

Gone are the days of wasting precious time on spammy data, advertisements, and unwanted contact details cluttering your inbox. Our plugin empowers you to take control effortlessly. Simply navigate to the Contact Form 7 edit screen and discover the all-new tab, exclusively designed to combat spam.

Customize your defense strategy by effortlessly adding emails, domains, or specific words and phrases to the block settings. As spammers and bots often employ consistent email domains and commonly used words for their marketing endeavors, you can now proactively prevent their mischief. Watch as their attempts to submit forms are thwarted, replaced by a sleek, custom error message of your choosing.

But worry not about blocking genuine visitors inadvertently! Our innovative log file system provides you with insightful monitoring, allowing you to identify and understand each blocked attempt. Stay confident that you’re preserving the engagement of your valued audience while keeping the disruptive elements at bay.

Experience the unrivaled convenience and effectiveness of Spam Protect for Contact Form 7 today. Streamline your website’s communication, protect your time, and bid farewell to spam like never before.

A brief Markdown Example

  1. Manually email block.
  2. Email domain block.
  3. Words and phrases block.
  4. Top level domains block.
  5. Protect form from messages that contain shortlinks.
  6. Protect from blank text submitions.
  7. Log the failed messages.

Step #1: Edit any CF7 form and click on Antispam Settings tab.
Step #2: Add the emails, email’s domain and/or and/or words and phrases as comma seperated values that you want to block.
Step #3: Enter the message to be shown to the spammers or bots in ‘Set your error message’ field.
Step #4: Set Log the failed messages option to Yes in order to have a control of what you are blocking.
Step #5: Click Save

OR

  1. Upload spam-protect-for-contact-form7 to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Goto contact tab and Edit any CF7 form and click on Antispam Settings tab.
  4. Add the emails, email’s domain and/or and/or words and phrases as comma seperated values that you want to block.
  5. Enter the message to be shown to the spammers or bots in ‘Set your error message’ field.
  6. Step #4: Set Log the failed messages option to Yes in order to have a control of what you are blocking.
  7. Click Save.
  1. Antispam Setting in contact form 7.

    Antispam Setting in contact form 7.

  2. Restrict Spammer or Bot to submit the form.

    Restrict Spammer or Bot to submit the form.

  3. Check the Log file.

    Check the Log file.

Is the plugin settings global for all forms that I have ?

No the settings are indepentent for each form.
Each form has its own antispam settings and even a different log file if needed.

This plugin breaks the WP backend

By HudsonValleyWebDesign (jaycbrf) on August 15, 2025

This plugin breaks the WordPress backend. It broke several of my other plugins and was deleted from my site. It is completely useless and the developer's response in support was that it was not designed to work with other plugins I am using.

Good plugin

By webmaster1234 on September 10, 2024

zzzz

Nice, simple and useful!

By Artan (artankrasniqi1988) on June 6, 2024

Thanks very much for this useful plugin! I am using it to block on domain level so that spammers don´t use the "from" mail input to insert our own domain. This makes it easy.

It´s just a plugin to the point without bling bling. Easy to understand and use and it blends perfectly in to the default user interface of CF7 in back end but also in front end for the error message!

The only thing: Would be great if the background color in back end would have the same color like the other tabs of CF7. This dark gray seems bit to dark. But think this is personal reference.

Really nice, thanks a lot for this!

Perfect and works very well

By Tarjeet Singh (tarjeet98) on February 21, 2024

Thank you very much for such an amaxing plugin.

Don't let this plugin die! Thank you very much.

Manual blocking for the win

By con (conschneider) on February 6, 2023

The manual blocking works great for me. Thanks a lot.

Doesn't Work

By divy39993 on January 4, 2023

It doesn't work, when you put a word or a phrase to block for input fields, it's still submits the form regardless, it works for word and email id.

But it doesn't work for more than one word, like phrase (e.g. 'spam word') - it will submit form even if this phrase is listed among to block

It stopped Eric

By pixelbiz on June 21, 2022

We finally stopped Eric. And many other spammers/bots as well. Thank you.

Not Working, Sadly 🙁

By martymcleod on February 1, 2022

Unfortunately, it's not working. I've attempted to add a few test case keywords to block (comma separated) and the contact form still sends the email successfully and provides a success message (instead of the rejection message). Checked the installation & use instructions but I couldn't find anything I'm overlooking anywhere. I'm pretty certain something's going on with the plugin but sadly I can't recommend it. It's a shame, as I'd love to use it as well as send a contribution to the author! I'll be happy to change my review score if something changes. Thanks.

Looks Great

By lcwduk on September 6, 2021

only just installed, tested a little and looks/works great so far, so not sure how good just yet but easy to use and set up, will see how it goes, hopefully this will end all the unwanted spam, thank you

Simple to use

By muaadelsharif89 on September 4, 2021

The only thing that worked against spam.

1.2.9

Unknown conflict with WooComerce, removed latest features from plugin temporary until further investigation.

1.2.8

Minor bug fix, php warning in enqueue_scripts function
Readme file adjustments.

1.2.7

Minor fixes after CF7 Ver: 6.1 (latest major update)
Tested successfully with WordPress 6.8.2

1.2.6

Tested successfully with WordPress 6.8

1.2.5

svn file structure fixes

1.2.4

Tested successfully with WordPress 6.6

1.2.3

Tested successfully with WordPress 6.5

1.2.2

Fixed minor bug displaying false errors.
Improved field descriptions.

1.2.1

Fixed bug, custom log file didn’t clear.

1.2.0

New better UI
New feature to block short links
New feature to block Top Level Domains
New feature to protect your form from blank text submitions
New feature to erase the logfile
New feature to request an analysis of your log file from our company NYSL
Improved spam text check.

1.1.9

Fixed missing variable in Log file.

1.1.8

Fixed typo in Log file.
Improved spam text detection.
Tested successfully with 6.4

1.1.6

Tested successfully with 6.3

1.1.5

Added ability to set your own filename for log.
Each Contact Form can have a different log file now.
Updated texts and descriptions in admin UI.

1.0.10

Fixed bug affecting the spaces in banned words list.

Added visitors IP address in log file.

1.0.0

First version launched

  • Version:Version: 1.2.9
  • Active installs:Active installs: 10K
  • Last updated:Last updated: 1 month ago
  • Requires:Requires: 5.2
  • Tested:Tested: 6.8.2
Average rating:4.1 out of 5 stars.
  • Number of ratings: 9 ratings
  • Number of ratings: 0 ratings
  • Number of ratings: 0 ratings
  • Number of ratings: 1 ratings
  • Number of ratings: 2 ratings
Back to top