Contact Form 7 (CF7) – Block Free Email

Block free email domains from successfully submitting on your Contact Form 7 (CF7) forms

Stop spam and collect only high-value, business-grade leads.

Why block free email domains?

Gmail, Yahoo, Outlook and other free email providers let bots and low-intent visitors flood your inbox. Only allow inout from business-focused domains.

What the plugin does:

Real-time validation
Instantly checks the domain typed into the your-email field and blocks submission if it appears on the built-in Free-Mail list.

Lightweight & native to CF7
Uses Contact Form 7’s own “validate_email” filter. No extra JavaScript bloat, no theme conflicts.

Customisable domain list
Add your own domains to a blocklist or whitelist a free domain to make your submission preferences unique.

Customisable Error Message
Show a tailored error message (“Please use your work email”) so genuine users know what to do next.

See who tried to submit
Don’t lose a submission, capture the email and domain that was blocked in the blocked-log to view trends.

GDPR-safe
No data leaves your server.

Perfect for:

  • B2B lead generation & sign-up forms

  • “Request a quote” pages

  • Event registration & webinar funnels

  • Any site where data quality > raw volume

Don’t waste time on bot generated or low-quality enquiries.

Tech specs

Tested with  6.7.2, PHP 8.2.28, Contact Form 6.0.6
Version 1.9.3 (May 2025)
Footprint <10 KB PHP, zero JS