Skip to content

How to Block Disposable Email Addresses (Pro)

Fake accounts, coupon abuse and trial abuse nearly always use a throwaway inbox. The email guard refuses around 180 known disposable services, plus any domains you add.

Go to Configuration → Fraud Shield. Disposable emails, “Block disposable email addresses”, is on by default.

The Email guard section of the Fraud Shield tab

Check emails on takes any of Registration, Checkout and Comments & reviews. All three are on by default.

Blocked domains takes one domain per line. Subdomains are included, so example.com also blocks mail.example.com. Add the domains your own spam keeps coming from.

Message is what a refused visitor reads. Default “Please use a permanent email address. Temporary email services are not accepted.” Click Save Changes.

Registration. On the demo store, a registration with newcustomer@mailinator.com was refused, and no account was created.

My Account registration refusing a disposable address

Checkout. A checkout with a yopmail.com billing email was refused, and no order was placed.

The checkout refusing a disposable billing email

Comments. A comment from a guerrillamail.com address ends on WordPress’s error page, titled “Email not accepted”.

WordPress’s error page refusing a disposable comment email

Each refusal is logged Blocked, “Disposable email”.

  • The email guard runs before the CAPTCHA on comments. A comment with a disposable address is refused even if the CAPTCHA was answered right.
  • On registration, both checks run. A visitor who also fails the CAPTCHA sees both messages.
  • Trusted roles and IPs are never refused.
  • A refusal does not count toward a lockout.