Title: Block Disposable Email
Author: gsetz
Published: <strong>January 19, 2012</strong>
Last modified: March 16, 2017

---

Search plugins

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.

![](https://s.w.org/plugins/geopattern-icon/block-disposable-email-addresses.svg)

# Block Disposable Email

 By [gsetz](https://profiles.wordpress.org/gsetz/)

[Download](https://downloads.wordpress.org/plugin/block-disposable-email-addresses.zip)

 * [Details](https://en-ca.wordpress.org/plugins/block-disposable-email-addresses/#description)
 * [Reviews](https://en-ca.wordpress.org/plugins/block-disposable-email-addresses/#reviews)
 *  [Installation](https://en-ca.wordpress.org/plugins/block-disposable-email-addresses/#installation)
 * [Development](https://en-ca.wordpress.org/plugins/block-disposable-email-addresses/#developers)

 [Support](https://wordpress.org/support/plugin/block-disposable-email-addresses/)

## Description

This plugin prevents people from registering with disposable email addresses (dea)
like the ones provided by mailinator (also known as throw-away email, one-time email).
It protects your most important asset, your registered user base, by preventing 
contamination by fake accounts. This plugin working principle is similar to spam
blacklists.

It hooks in the wordpress function is_email() so it will extend the known email 
validation of wordpress to detect dea domains.

The plugin itself does not contain a list of domains to block. Instead of local 
maintenance the plugin uses the service of http://www.block-disposable-email.com.
This is a very accurate free service for up to 200 queries a month. For huge sites
several commercial plans are available.

Please see the FAQ section for some more information.

## Installation

 1. Unpack the *.zip file and extract the /block-disposable-email-addresses/ folder
    and the files.
 2. Using an FTP program, upload the full /block-disposable-email-addresses/ folder
    to your WordPress plugins directory (Example: /wp-content/plugins).
 3. Register at www.block-disposable-email.com and pick your api key. Please note that
    you have to register your server with its ip address to get a key. Simply follow
    the guideline of the service.
 4. Go to Plugins, click Settings and insert your api key.
 5. Go to Plugins and activate the plugin.

## FAQ

  What about privacy?

This plugin does NOT submit email addresses. I do not run this service to collect
your subscribers data.

Before the data is sent to http://www.block-disposable-email.com the domain part
is separated. So only the domain part is sent. For further information see the mentioned
website.

  What happens if the service is down?

First of all I try to have minimum downtime. That’s why there are currently 3 servers
at different locations (UK, US, AT) waiting for your requests. For further information
see http://www.block-disposable-email.com/faq.php

And yes, even if the service is down your users are able to leave comments.

  What happens if my credits are used up?

If your credits are running low you will be informed by email. If the credits are
used up you get an additional email. In case you do not have any credits left the
service will always respond with an OK (like the used domain is valid to subscribe).

In other words: even if you do not have any credits left your subscribers are allowed
to subscribe (or leave comments or whatever). But users subscribing with trashmail/
disposable email addresses are also allowed …

Please see http://www.block-disposable-email.com/pricing.php if you need more than
the 200 free credits a month.

  Why should I use this service? I use CAPTCHA so it is hard for robots to register
automatically. Captcha normally does a great job. For robots it is hard to register
indeed.

What Captcha cannot block are human subscribers using one-time email-addresses. 
It is bad to have such addresses in your userbase for several reasons. And yes, 
it is easy to block *.ru addresses, known domains as trashmail.net, and some others–
but they are changing continuously. This service currently detects about 3.000 domains.
So maybe it is a good alternative for your manually maintained blocklist.

  I got a “BLOCK” response for a domain which is running no dea (disposable email
address) services. How can I prevent or correct these false positives?

This should be happen very rarely. In this case I kindly ask you to report this 
mistake.

  Is there a documentation for the api in case I need to use the service without
WordPress?

Sure. Have a look at http://www.block-disposable-email.com/usage.php. There are 
several documents for the json, txt and php-serialized api.

## Reviews

![](https://secure.gravatar.com/avatar/08d8151529dcb3f19e938725c98e46bbc1421f2d1a58fc1200493670b9a5893e?
s=60&d=retro&r=g)

### 󠀁[Didn’t work](https://wordpress.org/support/topic/didnt-work-196/)󠁿

 [Kansoly, Telecom Expense Management](https://profiles.wordpress.org/kansoly/) 
March 26, 2017

I'd love to say it worked but it didn't. Got a blank screen where I had forms. Will
definitely try again though

![](https://secure.gravatar.com/avatar/972312e43d1d6144e375055fcc5e513294dc3c320de0f357065e15d0440e4e85?
s=60&d=retro&r=g)

### 󠀁[Very reliable and accurate](https://wordpress.org/support/topic/very-reliable-and-accurate/)󠁿

 [uxuxman](https://profiles.wordpress.org/uxuxman/) January 2, 2017

Works as desired. Blocks hell a lot of comment spam. External api looks well maintained(
they say to have more than 10k dea domains on file).

![](https://secure.gravatar.com/avatar/85124e4311f93ac2b3e82faa7af156b17e8785913e582af72f72807e132fb4f6?
s=60&d=retro&r=g)

### 󠀁[Does not work!](https://wordpress.org/support/topic/does-not-work-152/)󠁿

 [mrblobby](https://profiles.wordpress.org/mrblobby/) September 18, 2016 2 replies

Activated it, entered API key (which was accepted). Then tried registering using
a Mailinator email (including a few others) and they all registered without a hitch.
Disappointing!

 [ Read all 4 reviews ](https://wordpress.org/support/plugin/block-disposable-email-addresses/reviews/)

## Contributors & Developers

“Block Disposable Email” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ gsetz ](https://profiles.wordpress.org/gsetz/)

[Translate “Block Disposable Email” into your language.](https://translate.wordpress.org/projects/wp-plugins/block-disposable-email-addresses)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/block-disposable-email-addresses/),
check out the [SVN repository](https://plugins.svn.wordpress.org/block-disposable-email-addresses/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/block-disposable-email-addresses/)
by [RSS](https://plugins.trac.wordpress.org/log/block-disposable-email-addresses/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 0.8

 * Added support for WordPress 4.6.4
 * Changed backend to select between 3 options (check all email interactions, check
   comment emails only, check registration email addresses only)

#### 0.7

 * Added support for WordPress 4.6.1
 * Changed query method to wp_remote_get (WordPress native) to support shared hosting
   providers with file_get_contents limitation.
 * Changed handling of response codes to check for unexisting domains.

#### 0.6

 * Added support for WordPress 4.1.2
 * Changed used api to easyapi (see http://www.block-disposable-email.com/cms/help-
   and-usage/easy-api/)

#### 0.5

 * Added a huge warning message in case no api key has been inserted after activation.
   Should make clear that the plugin does not work without the free registration.

#### 0.4

 * Changed host for status messages from www. to status.block-disposable-email.com
 * In the admin section of the plugin the server ip will be listed to make it easier
   to register an api key.
 * Added some more information to readme.txt regarding privacy and other issues.
 * Added a FAQ section.

#### 0.3

 * Added status request for the admin part of the plugin. Shows now if a entered
   api key is valid or not. Additionally the number of free credits are shown.

#### 0.2

 * First version released.

## Meta

 *  Version **0.8**
 *  Last updated: **10 years ago**
 *  Active installations: **10+**
 *  WordPress Version: ** 3.3.1 or higher **
 *  Tested up to: **4.6.30**
 *  Language
 * [English (US)](https://wordpress.org/plugins/block-disposable-email-addresses/)
 * Tags:
 * [comments](https://en-ca.wordpress.org/plugins/tags/comments/)[disposable email](https://en-ca.wordpress.org/plugins/tags/disposable-email/)
   [posts](https://en-ca.wordpress.org/plugins/tags/posts/)[spam](https://en-ca.wordpress.org/plugins/tags/spam/)
   [temporary email](https://en-ca.wordpress.org/plugins/tags/temporary-email/)
 *  [Advanced View](https://en-ca.wordpress.org/plugins/block-disposable-email-addresses/advanced/)

## Ratings

 2.3 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/block-disposable-email-addresses/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/block-disposable-email-addresses/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/block-disposable-email-addresses/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/block-disposable-email-addresses/reviews/?filter=2)
 *  [  2 1-star reviews     ](https://wordpress.org/support/plugin/block-disposable-email-addresses/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/block-disposable-email-addresses/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/block-disposable-email-addresses/reviews/)

## Contributors

 *   [ gsetz ](https://profiles.wordpress.org/gsetz/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/block-disposable-email-addresses/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ZVJSLJALXCKYQ)