Message Filter for Contact Form 7


Do you receive spams every day? have you installed a dozen plugins and you still get spammed? Well this may be the solution to your problem.
This plugin filters messages submitted from contact form 7. You can decide to either filter messages based on restricted words found in the content of the message or filter based on the email of the person submitting the form.
Filters will be extended to other contact form plugins with time.

Supported Plugins

  1. Contact form 7
  2. WPForms

Note: This is just an extension. This plugin is not affiliated with or endorsed by Contact Form 7.

How to Contribute

The source codes can be downloaded here GitHub


  • Dashboard
  • Blocked messages
  • Options


  1. Download the plugin
  2. Install and activate
  3. Open CF7 Form Filter from your admin menu
  4. Go to Options and fill your restricted words and/or emails
  5. You can decide to activate the words filter and/or email filter
  6. Save and wait for someone to submit


2022년 9월 26일 1 reply
This plugin works exactly as I expected! The ability to block messages based on keywords, email domains and languages helps so much and currently blocks 99.9% of spam on my website. I made a request to the plugin developer to add a feature, and a couple of weeks later he replied to my message saying that the feature is now added. I'm impressed that this plugin is free. I really wish the developer could create a version that works with Gravity Forms as well 🙂
2021년 9월 23일 1 reply
Lots of spam would get through via our contact forms despite simple "do the math" hurdle and Captcha too, and they all stick in this gem. Download, install, you won't regret it. Super-de-luxe I must say!
2021년 3월 27일
This plugin installs easily, works perfectly, and is simple to use. What more can you ask for? Our contact forms had been receiving lots of bot spam that were evading Captcha. Many such spams were promoting either the same thing repeatedly, or were Russian. This plugin is perfectly tailored to block such garbage. I briefly ran into one small issue, and the developer was quick to issue a fix. Couldn't ask for better.
2021년 1월 23일
I left a post on the support panel with suggestions. The plugin needs refinement but it is off to a great start! We haven't incurred any spam on over 120 websites since installation.
2020년 9월 6일 3 replies
I like the plugin very much! An option to filter messages that contain links would be really helpful (95% of all spams I get through my forms contain links)! It would also be great if it would be possible to customize error messages (i.e. "Messages containing links are not allowed")
모든 8 평가 읽기

기여자 & 개발자

“Message Filter for Contact Form 7”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.


자국어로 “Message Filter for Contact Form 7”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.



  • Add the ability to mark a message as not spam


  • Fix disappearing fields on save


  • Upgrade guide updated


  • Fix migrations not running on upgrade


  • Add support for WPForms
  • Add premium plugin


  • Fix emoji in filter not working
  • Add [emoji] filter
  • Add option to show a success message if a spam is found.
  • Fix single line text filters not working


  • Fix wrong filter name on the filters page


  • Add [japanesse] [hiragana] [katakana] and [kanji] filters
  • Compatibility with WordPress 6.0


  • Add tests
  • Compatibility with WordPress 5.9
  • Update min php version to 5.6


  • Escape HTML tags in message content


  • Add compatibility with WordPress 5.8


  • Fix bug when filter sees words separated with space as two words
  • Fix filter not working for words like “.online”


  • Add auto-clear messages function
  • Move log file to uploads folder
  • Grouped blocked messages per form
  • Bug fixes


  • Fix bug with some messages with links bypassing the checks


  • Add option to filter other text fields
  • Update [link] filter to filter urls without protocols
  • Other Bug Fixes


  • Add custom error messages
  • Add ability to filter messages containing links using [link] keyword
  • Bug Fixes


  • Fix unicode characters not displaying in all messages page


  • Refactored Codes
  • New dashboard UI