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).
Why
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,
http://wordpress.org/plugins/stop-emails/
Featured News Story
This plugin was featured in WP Tavern’s article How to Stop WordPress From Sending Emails
Now available in Spanish
Plugin en el español (http://wordpress.org/plugins/stop-emails/) por Andrew de WebHostingHub
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.
Hello Sal,
My name is Andrew, I am with WebHostingHub. We have found at https://salferrarello.com/stop-emails-wordpress-plugin/ your Stop Emails plugin very interesting and we would like to translate it to Spanish language to help people from Hispanic community.
Do I have your permission to do that?
I hope I’ll hear from you soon.
Kind regards
Andrew Kurtis
WebHostingHub
Andrew, thanks for your request. I’m glad you like the plugin. This plugin is published under the GNU General Public License, version 2.0 thereby granting you permission to modify it as long as you follow the license. (Quick relevant notes about the GPL 2.0 available at their FAQ page).
Ultimately I want to add support for translation so if you go that route, let me know and I’d love to update the plugin.
Hi Sal,
Thank you for your answer.
In order for me to do the translation, I need you to create the languages file, as explained here http://wpmu.org/localize-a-wordpress-plugin-and-make-it-translation-ready/ so I can access it with Po edit program .
When you’re done just email me directly and I’ll start with translating.
Thank you.
The plugin is now updated on wordpress.org with support for localization. Thanks.
Hi Sal –
Thanks for the great plugin! However, I seem to have a problem. In addition to blocking the normal flow of outgoing email, the plugin appears to have also blocked messages submitted through my website’s contact form (logical, but did not occur to me until now).
Is there any way for me to retrieve those messages?
Thanks
Hi Max,
I’m sorry but unfortunately the default for the plugin is when an email is stopped it is not recorded anywhere. Under Settings there is an option to log stopped emails to your PHP error log but, again, this is off by default.
I feel your pain as I have lost contact form submissions in the past. I now make sure to use a contact form plugin that logs entries when they’re submitted, Gravity Forms is my go-to contact form plugin. I realize this information does not help you in your current situation and I am sorry for that. Best of luck.