开发者 | jesin |
---|---|
更新时间 | 2017年11月25日 22:21 |
PHP版本: | 3.1.0 及以上 |
WordPress版本: | 4.9 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
@
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?
user@some-random-characters.com
can't escape.anything@example.com
is caught.small@gmail.com
and hyphen-user@gmail.com
can't get away.is_email()
function.mailgun-email-validator
folder to the /wp-content/plugins/
directory.General > Email Validation
page.General > Email Validation
page.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.
No. It only makes use of Mailgun's email validation service API. Nothing in the code belongs to Mailgun.
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.
Try the email validation demo from the plugin's option page. It could a connectivity issue.
In such cases emails are passed on untouched (as though this plugin is nonexistent) and on the front-end users won't notice anything.
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.
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.
Mailgun has created a jquery demo at this page. The code for this demo is available here.