Title: Email and Domain Blocker for WooCommerce
Author: Kaleem Abbasi
Published: <strong>29. Oktober 2024</strong>
Last modified: 1. April 2026

---

Search plugins

![](https://ps.w.org/email-and-domain-blocker/assets/banner-772x250.png?rev=3177632)

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://ps.w.org/email-and-domain-blocker/assets/icon-128x128.png?rev=3177633)

# Email and Domain Blocker for WooCommerce

 By [Kaleem Abbasi](https://profiles.wordpress.org/kaleemabbasi/)

[Download](https://downloads.wordpress.org/plugin/email-and-domain-blocker.1.2.zip)

 * [Details](https://de-ch.wordpress.org/plugins/email-and-domain-blocker/#description)
 * [Reviews](https://de-ch.wordpress.org/plugins/email-and-domain-blocker/#reviews)
 *  [Installation](https://de-ch.wordpress.org/plugins/email-and-domain-blocker/#installation)
 * [Development](https://de-ch.wordpress.org/plugins/email-and-domain-blocker/#developers)

 [Support](https://wordpress.org/support/plugin/email-and-domain-blocker/)

## Description

Tired of fake signups and spam accounts in your WooCommerce store?
 **Email and 
Domain Blocker for WooCommerce** lets you block unwanted emails or domains from 
registering — keeping your store clean and your customers real.

**Key Features:**

 * Block specific email addresses (e.g. `baduser@gmail.com`)
 * Block entire domains (e.g. `@spam.com`)
 * Wildcard support (e.g. `*@gmail.com`, `*@*.ru`, `test*@domain.com`)
 * **Disposable email auto-blocking** — block 200+ known throwaway providers (Mailinator,
   TempMail, YOPmail, etc.) with one checkbox
 * **Custom error message** — set your own message shown to blocked users
 * **WordPress native registration blocking** — optionally apply rules to `/wp-login.
   php?action=register` as well
 * **Bulk Import** — upload a `.txt` or `.csv` file to import a list of blocked 
   domains/emails in one click
 * **Dashboard Widget** — at-a-glance stats (today / this week / all time) right
   on your WordPress dashboard
 * **Test Email Checker** — instantly check if an email would be blocked
 * Optional logging of blocked attempts
 * **Logs tab** — view, paginate, clear, and download blocked attempts as CSV
 * Newline and comma-separated list support — one item per line or comma-separated
 * Simple, accessible admin UI with usage examples and tab navigation

**Use cases:**

 * Stop spam signups with disposable or free mail services
 * Block competitors or fraud-prone domains
 * Restrict registrations to company emails only
 * Bulk-block entire country TLDs (e.g. `*@*.ru`)

## Screenshots

[⌊Test Email Checker — instantly check if an email is allowed or blocked.⌉⌊Test 
Email Checker — instantly check if an email is allowed or blocked.⌉[

Test Email Checker — instantly check if an email is allowed or blocked.

## Installation

 1. Upload the plugin folder to the `/wp-content/plugins/` directory or install via
    WordPress Plugins screen.
 2. Activate the plugin through the «Plugins» menu in WordPress.
 3. Go to **Settings > Email & Domain Blocker** to configure.
 4. Enter blocked emails/domains (one per line or comma-separated).
 5. Optionally enable logging, disposable email blocking, and WordPress registration
    blocking.
 6. Test with the built-in **Test Email Checker**.

## FAQ

### Does this block users from logging in?

No. It only blocks **new registrations**. Existing accounts remain completely unaffected.

### Can I use wildcards?

Yes! Examples:
 * `*@gmail.com` — blocks all Gmail addresses * `*@*.ru` — blocks
all .ru domains * `test*@domain.com` — blocks any address starting with «test»

### How do I block an entire domain?

Enter `@spam.com` (with the @) in the Blocked Domains field. The plugin will correctly
match only emails from that exact domain.

### What is disposable email blocking?

Enable the «Block Disposable Emails» checkbox to automatically block 200+ known 
throwaway email providers (Mailinator, TempMail, YOPmail, Guerrilla Mail, etc.) 
without entering them manually.

### Can I block registrations on the standard WordPress login page too?

Yes! Enable the «Block WordPress Registration» option in Settings to also apply 
your rules to `/wp-login.php?action=register`.

### How do I import a large list of blocked domains?

Go to the **Import** tab and upload a `.txt` or `.csv` file with one domain per 
line (or comma-separated). You can choose to append to or replace your existing 
list.

### Where can I see blocked attempts?

Enable logging in Settings. Blocked attempts will appear in the **Logs tab**, where
you can view, clear, or download them as CSV.

### Is this compatible with Paid Memberships Pro or other WooCommerce membership plugins?

Yes. It hooks into WooCommerce’s registration filter, so it works with any plugin
that uses WooCommerce accounts.

### What happens to my data if I delete the plugin?

All plugin data (blocked lists, log table, settings) is completely removed when 
you delete the plugin.

## Reviews

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

### 󠀁[Works like a charm](https://wordpress.org/support/topic/works-like-a-charm-2423/)󠁿

 [jenjenjet](https://profiles.wordpress.org/jenjenjet/) 1. Oktober 2025

This plugin delivers! I tried another one which prevented customer registration 
from gmail, yahoo etc. but somehow still allowed spammers with "blocked" domains
to submit orders for payment verification. With this plugin, those spam orders get
stuck as drafts.Now I just need to find a way to remove those bogus customers, who
appear in the woocommerce customer list but not in the wordpress user list, where
it would be easy to delete them. A solution to this would be great but is a bit 
much to ask from a free plugin. 😉 Thanks for this great plugin, Kaleem!

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

### 󠀁[Compact and useful](https://wordpress.org/support/topic/compact-and-useful/)󠁿

 [antonv](https://profiles.wordpress.org/antonv/) 11. Juli 2025

Thanks for this compact email domain blocker, does what it says!

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

### 󠀁[A handy and practical plugin. Easy to use.](https://wordpress.org/support/topic/a-handy-and-practical-plugin-easy-to-use/)󠁿

 [jwvdmei](https://profiles.wordpress.org/jwvdmei/) 23. November 2024

This plugin solved our problem in preventing fake registrations in our woocommerce/
paid membership (free version) website. I think it could be improved with:- a log,
that one can turn on or off, recording the attempted registrations showing which
email addresses have been used when attempting to create an account,- the use of
wildcards so one can identify strings and patterns.Great stuff, Thanks

 [ Read all 3 reviews ](https://wordpress.org/support/plugin/email-and-domain-blocker/reviews/)

## Contributors & Developers

“Email and Domain Blocker for WooCommerce” is open source software. The following
people have contributed to this plugin.

Contributors

 *   [ Kaleem Abbasi ](https://profiles.wordpress.org/kaleemabbasi/)

[Translate “Email and Domain Blocker for WooCommerce” into your language.](https://translate.wordpress.org/projects/wp-plugins/email-and-domain-blocker)

### Interested in development?

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

## Changelog

#### 1.2

 * Fixed: Domain matching now correctly compares the @domain portion only — previously`@
   gmail.com` would also match `@notgmail.com`.
 * Fixed: Restored full i18n/translation support (all strings wrapped in `__()` /`
   esc_html__()`).
 * Fixed: Tab parameter is now properly allowlisted, not just sanitized.
 * Fixed: Replaced `wp_add_inline_style()` with a proper enqueued stylesheet.
 * Added: `uninstall.php` — drops `wp_edb_logs` table and all options on plugin 
   deletion.
 * Added: WooCommerce dependency notice when WooCommerce is not active.
 * Added: **Disposable email auto-blocking** — 200+ known throwaway providers with
   one checkbox.
 * Added: **Custom error message** — override default block messages with your own
   text.
 * Added: **WordPress native registration blocking** — optional, applies rules to`/
   wp-login.php?action=register`.
 * Added: **Bulk Import tab** — upload `.txt` / `.csv` files to import blocked lists(
   append or replace mode).
 * Added: **Dashboard Widget** — at-a-glance blocked attempt stats (today / this
   week / all time).
 * Added: Newline-separated list support (in addition to comma-separated).
 * Added: «Page X of Y» indicator in Logs pagination.
 * Added: «Blocked this week / total» stats bar on the Logs tab.
 * Added: Enter key support in the Test Email Checker input.
 * Improved: All JavaScript strings are now localized (passed from PHP via `wp_localize_script()`).
 * Improved: `edb_parse_list()` helper normalizes all list inputs consistently.
 * Improved: Tested up to WordPress 6.7.

#### 1.1

 * Added wildcard support for blocking emails/domains.
 * Added Test Email Checker (AJAX).
 * Added optional logging system.
 * Added Logs tab with view, clear, and CSV export.
 * Improved admin UI with help text and examples.

#### 1.0

 * Initial release — block specific emails and domains from WooCommerce registration.

## Meta

 *  Version **1.2**
 *  Last updated **6 Monaten ago**
 *  Active installations **300+**
 *  WordPress version ** 5.8 or higher **
 *  Tested up to **6.7.10**
 *  PHP version ** 7.2 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/email-and-domain-blocker/)
 * Tags
 * [email blocker](https://de-ch.wordpress.org/plugins/tags/email-blocker/)[registration](https://de-ch.wordpress.org/plugins/tags/registration/)
   [spam prevention](https://de-ch.wordpress.org/plugins/tags/spam-prevention/)[woocommerce](https://de-ch.wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://de-ch.wordpress.org/plugins/email-and-domain-blocker/advanced/)

## Ratings

 5 von 5 Sternen.

 *  [  3 5-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/email-and-domain-blocker/reviews/?filter=5)
 *  [  0 4-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/email-and-domain-blocker/reviews/?filter=4)
 *  [  0 3-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/email-and-domain-blocker/reviews/?filter=3)
 *  [  0 2-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/email-and-domain-blocker/reviews/?filter=2)
 *  [  0 1-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/email-and-domain-blocker/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/email-and-domain-blocker/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/email-and-domain-blocker/reviews/)

## Contributors

 *   [ Kaleem Abbasi ](https://profiles.wordpress.org/kaleemabbasi/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/email-and-domain-blocker/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://iamkaleemabbasi.gumroad.com/coffee)