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.

WordPress Disable Email plugin


Disables all email through wp_mail() on current installation. Email will by disabled by default, but can be overridden in the settings.


  • Disables all email by default
  • Enable email again by matching the given hostname with the current server hostname.
  • Override the $to address (or multiple, comma sperated addresses), so you can use that for testing purposes.

Note: The plugin performs a check on the $_SERVER['HTTP_HOST'] variable.


There are no reviews for this plugin.

Contributors & Developers

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




  • Initial plugin