Stops outgoing emails.
Any outgoing emails will fail silently (i.e. WordPress will operate as if the email was sent successfully but no email will actually be sent).
I’ve found when doing development work, sometimes I want to work on a site (often locally) but I don’t want it sending out any emails.
Now with a Settings Option for Logging
As of version 0.6, the plugin now includes an admin settings screen to activate logging of blocked emails. When logging is activated, blocked emails will be written to your PHP error log file; this has proven valuable when doing development on emails generated within WordPress.
Available for download at the official WordPress Plugin Repository,
Featured News Story
This plugin was featured in WP Tavern’s article How to Stop WordPress From Sending Emails
Now available in Spanish
VVV and Mailcatcher
If you’re running Varying-Vagrant-Vagrants (a.k.a VVV) version 1.3.0 released on February 21, 2016 (or a newer version), you don’t need this Stop Emails plugin anymore. Instead, you can use Mailcatcher, which comes with VVV. Thank you to the ever informative Kevin Cristiano for introducing me to this feature.