This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Mailgun Email Validator

توضیحات

Most email validators look for an @ and a .(dot) some go further and blacklist certain domain names. But Mailgun’s Advanced email validation service goes deeper and looks for the existence of the domain name, presence of a MX record and the custom ESP(Email Service Provider) grammar.
The grammar here is the rules defined by each email provider. For example, Yahoo Mail addresses can only contain letters, numbers, underscores, and one period.
So user.name.abc@yahoo.com perfectly passes the is_email() function but can never exist as it contains more than one period. Such addresses can’t escape Mailgun’s Email validation.

Why use Mailgun’s email validation service?

  • Performs the usual email syntax check.
  • Checks the existence of the email domain. So user@some-random-characters.com can’t escape.
  • Checks if the email domain has a MX record. So anything@example.com is caught.
  • Checks if the username complies with the grammar of its ESP (Email Service provider). Eg Gmail doesn’t allow usernames less than 6 characters and hyphens so small@gmail.com and hyphen-user@gmail.com can’t get away.

Why use this plugin?

  • Integrates with the is_email() function of WordPress. So it works seamlessly with Contact Form 7, Jetpack/Grunion contact forms, WordPress registration form and any form which uses the is_email() function.
  • Kicks spam before it is inserted into the database
  • Ensures that the commenting process is uninterrupted even if Mailgun suffers a downtime
  • Works completely transparent, nothing changes in the frontend

This plugin requires a Mailgun Public API Key which can be obtained by signing up at Mailgun.

If you’re trying out this plugin on a local WAMP/LAMP/MAMP installation make sure your system is connected to the Internet for this plugin to contact Mailgun.

Available Languages

Further Reading

Read about Mailgun’s email validation service.

عکس‌های صفحه

  • Enter your public API key to begin validation.
  • A comment with an incorrect email address.
  • This plugin in action on the user registration page.
  • Email validation in a contact form.

نصب

  1. Unzip and upload the mailgun-email-validator folder to the /wp-content/plugins/ directory.
  2. Activate the Mailgun Email Validator plugin through the ‘Plugins’ menu in WordPress.
  3. Configure the plugin by going to General > Email Validation page.
  4. Signup for a Mailgun account (First 100 validations are free every month).
  5. Login, copy and paste your public API key to General > Email Validation page.

سوالات متداول

Installation Instructions
  1. Unzip and upload the mailgun-email-validator folder to the /wp-content/plugins/ directory.
  2. Activate the Mailgun Email Validator plugin through the ‘Plugins’ menu in WordPress.
  3. Configure the plugin by going to General > Email Validation page.
  4. Signup for a Mailgun account (First 100 validations are free every month).
  5. Login, copy and paste your public API key to General > Email Validation page.
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.

نقد و بررسی‌ها

8 اکتبر 2017 1 پاسخ
I’m using Mailgun with the Woocommerce plugin. In the first month of paid service, Mailgun reports that we had over 416,000 validations and charged me over $2,000! Uh… we only had 220k VISITORS to our site, and only 13k to our checkout page. Mailgun conceded that they’re validating emails that Woo sends to our own domain (order validations), and suggested that *something* is causing multiple validations. I can’t see how that would get us to 400k+ and they’ve provided NO transparency, no ability to audit their data, no way to modify their service to address whatever the problems are, and NO offer to give any credit for problems that, frankly, they could have anticipated before the switch to a paid service by looking up the number of validations we had PRIOR to their switch to paid (I spoke with a sales rep prior to deciding so continue using Mailgun after their switch). Buyer beware!
17 آگوست 2017 2 پاسخ
Suddenly this month my mailgun email validation bill ran into thousands of dollars. And am not kidding! After a quick check with the plugin author, we figured spammers have been using the comments form where email was getting validated. And thousands of validations caused the bill as from June 27 Mailgun has been charging for validation. Am sure a lot more users using this plugin is going to face charges from mailgun. To prevent further charges please set limit for validations in your account settings to less than 100. But the issue is this plugin becomes invalid with wordpress spammers sure to use up that limit.
31 می 2017
Wow, this has to be one of the best yet simple plugins I have used…
18 دسامبر 2016 2 پاسخ
I needed a quick fix, so signed up, installed the plugin. Now the work starts: Then I am asked for email verification and registration…. bla,bla, done that.. THEN I get another popup: Enter your Phone Number… bla,bla.. for TXT verification.. sorry, this is TOO TIGHT, whats wrong just going through my email? Also, If you enter a domain on their account panel, it will ask you to … go to the registrar… enter DNS records etc… another job I don’t wanna do, got enough on my plate
25 سپتامبر 2016 3 پاسخ
Went for trial and was locked out before could even use. After a simple mailbox check to verify existence, if not restrict form completion. Usually, if you start off with issues, the rest follows, so abandoned as locking out users and requesting contact support before you start is a joke. Never put a bad or good comment on WordPress yet, but this deserves one and one star rating as well.
خواندن تمامی 26 نقد و بررسی‌

توسعه دهندگان و همکاران

“Mailgun Email Validator” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

ترجمه “Mailgun Email Validator” به زبان شما.

علاقه‌ مند به توسعه هستید؟

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

گزارش تغییرات

1.2.4.1

  • 19th October 2017
  • Add global variables $pagenow and $wp

1.2.4

  • 8th October 2017
  • Don’t use Mailgun validation on the WooCommerce WP-Admin orders page. More details…

1.2.3

  • 16th October 2016
  • Removed PHP4 style constructors for PHP 7 compatibility

1.2.2

1.2.1

  • 19th October 2014
  • Use HTTP HEAD instead of GET to validate API key. More details…

1.2

1.1

  • 3rd November 2013
  • Plugin is translation ready

1.0

  • 5th October 2013
  • Initial version