CF7 Email Domain Filter is an add-on to Contact Form 7
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

CF7 Email Domain Filter

The CF7 Email Domain Filter plugin is an add-on for Contact Form 7

With the CF7 Email Domain Filter you can limit the which email domains you want a response from.

btw, per at isn't my email address


a) As a plugin

  1. Fork the repo
  2. Edit cf7-email-domain-filter.php and change the $email_filter_domains array.
  3. Uppload the changed repo to wp-content/plugins

b) In your (child) theme

  1. Copy everything below namespace Soderlind\CF7\Email\Filter; and save it in your (child) theme functions.php
  2. Change the $email_filter_domains array.


Add class domainfilter to the email tag, eg: [email your-email class:domainfilter]


  • 0.0.1 Front-end validation (can be bypassed)
  • 0.0.2 Back-end validation
  • 0.0.3 Admin / settings page


Awesomplete is Copyright (c) 2015 Lea Verou

Copyright and License

CF7 Email Domain Filter is copyright 2018 Per Soderlind

CF7 Email Domain Filter is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.

CF7 Email Domain Filter is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with the Extension. If not, see