Email and Domain Blocker for WooCommerce

Kuvaus

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 Email Checker (instantly check if an email is allowed or blocked)
* Optional logging of blocked attempts
* Logs tab to view, clear, and download blocked attempts as CSV
* Simple admin UI with usage examples

Use cases:
* Stop spam signups with disposable or free mail services
* Block competitors or fraud-prone domains
* Restrict registrations to company emails only

Kuvankaappaukset

  • Test Email Checker.

Asennus

  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 (comma separated).
  5. Optionally enable logging.
  6. Test with the built-in Test Email Checker.

UKK

Does this block users from logging in?

No, it only blocks new registrations. Existing accounts remain 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”

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 process, so it works with plugins that use WooCommerce accounts.

Arvostelut

1.10.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!
23.11.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
Lue kaikki 3 arvostelua.

Avustajat & Kehittäjät

“Email and Domain Blocker for WooCommerce” perustuu avoimeen lähdekoodiin. Seuraavat henkilöt ovat osallistuneet tämän lisäosan kehittämiseen.

Avustajat

Muutosloki

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 in WooCommerce registration.