Allows email addresses using your site’s Mailgun domain to pass Contact Form 7’s form validation feature.
As of April 2026, CF7 Mailgun Domain Validation is a WordPress cf7 plugin with 10 active installations and a 0/5 rating0. It has been downloaded 1.4K+ times in total. Requires WordPress 4.8+ and PHP false+. Available on WordPress.org since 2018. Last updated 5 years ago — may have compatibility concerns. Top alternative: Database Addon for Contact Form 7….
Do you use Mailgun to deliver emails from your WordPress site? Does it annoy you that email addresses using the Mailgun domain causes Contact Form 7 validation to fail?
This plugin allows email addresses using your site’s Mailgun domain to pass Contact Form 7’s form validation feature.
It also includes the cf7_mailgun_domain filter you can use to modify the default mailgun domain. Example:
/**
* Filter the Mailgun domain.
*
* @param string $domain Your mailgun domain; defaults to the domain set in the Mailgun plugin settings, or 'mg.your-site.com' if that is not set.
*
* @return string Your mailgun domain.
*/
function my_custom_mailgun_domain( $domain ) {
$domain = 'mg.my-site.com'; // Replace this with your Mailgun domain.
return $domain;
}
add_filter( 'cf7_mailgun_domain',…| WordPress | 4.8+ requiredTested up to 5.7.0 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.