Disable Emails


Stop a WordPress website from sending any emails using the standard wp_mail() function. No emails will be sent, not even for password resets or administrator notifications.

WordPress websites can send emails for a variety of reasons — e.g user registration, password reset, enquiry form submission, e-commerce purchase — but sometimes you don’t want it to send anything at all. Some reasons for disabling all emails:

  • demonstration websites that allow users to do things that normally send emails
  • development / test websites with live data that might email real customers
  • bulk-loading data into websites which might trigger emails
  • adding new sites into multisite installations


Many thanks to the generous efforts of our translators:

If you’d like to help out by translating this plugin, please sign up for an account and dig in.


  1. Either install automatically through the WordPress admin, or download the .zip file, unzip to a folder, and upload the folder to your /wp-content/plugins/ directory. Read Installing Plugins in the WordPress Codex for details.
  2. Aktiviere das Plugin im Menü ‚Plugins‘ im WordPress Backend.


Why am I still getting standard WordPress emails?

You probably have another plugin that adds its own implementation of the wp_mail() function. Try disabling some plugins.

Standard WordPress emails have stopped, but some others still get sent

You probably have a plugin that is sending emails via some other method, like directly using the PHP mail() function, or directly implementing an SMTP client. Not much I can do about that…

Wie funktioniert es?

The plugin replaces the standard WordPress wp_mail() function with a function that sends no emails. Nada. Zip. Silence.

Behind the scenes, it creates a private copy of PHPMailer and allows the system to interact with it, but silently suppresses the functions that send emails. The standard WordPress filter and action hooks are supported, so plugins that register hooks for those will still function as normal. It just doesn’t actually send any emails.



5. Juli 2019
I use this on every WordPress site during development. Really quick and easy to use. It's wonderful to not have to worry about accidentally sending a bunch of test emails to a client's customer base. 😅
3. Februar 2019
I have used this plugin in a couple of situations. The first is when I have to spin up a development version of a live site for testing. When this is done for testing something like data import on a version of the live site's data (such as verifying certain user data), we can't have emails going out to those users. In the past, I had generally just blanked the user emails or put in a dummy email. But that doesn't allow you to do certain testing such as updating data on the user profile screen because it would trigger an email error. Using this plugin now allows me do full testing on a dev site with full user data without fear of emailing the users. The other place I have found it useful is on demo sites. As a plugin developer, there are times that I have to set up a demonstration site for a plugin. Using Disable Emails makes it possible to do that without having the demo site sending out emails. It has definitely earned a permanent place in my toolbox.
26. Februar 2017
Good lord I want email to die. Very old tech. So nice we can turn it off and use other things. Thanks!
Lies alle 11 Rezensionen

Mitwirkende & Entwickler

„Disable Emails“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:


„Disable Emails“ wurde in 9 Sprachen übersetzt. Danke an die Übersetzerinnen und Übersetzer für ihre Mitwirkung.

Übersetze „Disable Emails“ in deine Sprache.

Interessiert an der Entwicklung?

Durchstöbere den Code, sieh dir das SVN Repository an oder abonniere das Entwicklungsprotokoll per RSS.


The full changelog can be found on GitHub. Recent entries:


Released 2018-11-21

  • added: setting to force Events Manager to use wp_mail() so that its emails can be disabled
  • tested: WordPress 5.0