Plugin Directory

Test out the new Plugin Directory and let us know what you think.

Mailgun Email Validator

Kick spam with a highly advanced email validation in comment forms, user registration and contact forms using Mailgun's Email validation service.

Why did you create this plugin?

I hate comment spam because it bloats my database. I also don't like bugging my visitors with CAPTCHAs in the form of scribbled text, counting the puppies and answering questions like What is 3 + 2? So when Mailgun released their email validation service I tried validating the email addresses of comments in the spam queue of my blog. I found that nearly 50% of these email addresses were identified incorrect by Mailgun. Thus this plugin was born. Though not as effective as CAPTCHAs this plugin can prevent a decent amount of spam while maintaining user experience.

Is this plugin a product of Mailgun?

No. It only makes use of Mailgun's email validation service API. Nothing in the code belongs to Mailgun.

I get a *401 Unauthorized* error when I verify the API key but I'm very sure that it is correct

You could be using the normal API key, for this plugin you need to enter the Public API Key this is slightly longer than the normal API key and is found just below it.

This plugin is active and I have entered a Valid Public API Key but it doesn't work

Try the email validation demo from the plugin's option page. It could a connectivity issue.

What happens if Mailgun's service is down?

In such cases emails are passed on untouched (as though this plugin is nonexistent) and on the front-end users won't notice anything.

What contact form plugins are supported?

Any form which uses the is_email() function are supported this means the most popular ones like Contact Form 7, Jetpack by WordPress.com, Grunion Contact Form and a lot of others are supported.

Does Mailgun support this plugin?

No, because Mailgun didn't create it. If you need support create a thread by choosing the Support tab of this plugin. If you directly create a thread in the forum I'll never know of its existence.

I want to see a demo of emails validating

Mailgun has created a jquery demo at this page. The code for this demo is available here.

Requires: 3.1.0 or higher
Compatible up to: 4.7.2
Last Updated: 2 months ago
Active Installs: 600+


4.2 out of 5 stars


0 of 1 support threads in the last two months have been marked resolved.

Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.