{"id":24749,"date":"2013-08-20T02:49:24","date_gmt":"2013-08-20T02:49:24","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/stop-emails\/"},"modified":"2026-01-13T02:08:50","modified_gmt":"2026-01-13T02:08:50","slug":"stop-emails","status":"publish","type":"plugin","link":"https:\/\/pirate.wordpress.org\/plugins\/stop-emails\/","author":12923633,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2.1","stable_tag":"1.2.1","tested":"6.9.4","requires":"3.6","requires_php":"","requires_plugins":null,"header_name":"Stop Emails","header_author":"Sal Ferrarello","header_description":"","assets_banners_color":"fccdcd","last_updated":"2026-01-13 02:08:50","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/salferrarello.com\/stop-emails-wordpress-plugin\/","header_author_uri":"http:\/\/salferrarello.com\/","rating":5,"author_block_rating":0,"active_installs":5000,"downloads":77701,"num_ratings":12,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"0.1.0":{"tag":"0.1.0","author":"salcode","date":"2013-12-14 05:52:36"},"0.2.0":{"tag":"0.2.0","author":"salcode","date":"2013-12-14 05:52:36"},"0.3.0":{"tag":"0.3.0","author":"salcode","date":"2014-02-05 02:40:32"},"0.4.0":{"tag":"0.4.0","author":"salcode","date":"2014-02-09 03:43:21"},"0.5.0":{"tag":"0.5.0","author":"salcode","date":"2014-02-11 14:57:02"},"0.6.0":{"tag":"0.6.0","author":"salcode","date":"2014-03-12 16:02:29"},"0.6.1":{"tag":"0.6.1","author":"salcode","date":"2014-04-23 13:17:39"},"0.6.2":{"tag":"0.6.2","author":"salcode","date":"2014-09-04 19:34:03"},"0.7.0":{"tag":"0.7.0","author":"salcode","date":"2014-11-28 20:37:09"},"0.8.0":{"tag":"0.8.0","author":"salcode","date":"2015-01-30 03:46:18"},"1.0.0":{"tag":"1.0.0","author":"salcode","date":"2015-04-16 15:07:50"},"1.0.1":{"tag":"1.0.1","author":"salcode","date":"2015-08-20 15:40:50"},"1.1.0":{"tag":"1.1.0","author":"salcode","date":"2016-04-07 13:31:17"},"1.2.0":{"tag":"1.2.0","author":"salcode","date":"2020-07-31 13:28:38"},"1.2.1":{"tag":"1.2.1","author":"salcode","date":"2026-01-13 02:08:50"}},"upgrade_notice":{"1.2.0":"<ul>\n<li>Add filter to stop BuddyPress emails, previously not all were stopped<\/li>\n<\/ul>","1.1.0":"<p>Add Italian translation<\/p>","1.0.1":"<p>No code changes. Documentation update, &quot;Tested To&quot; update, and version bump to 1.0 based on future release plans.<\/p>","0.8.0":"<p>Important - fixes issues with plugin not Stopping Emails.<\/p>","0.7.0":"<p>Minor update that adds support for extended logging.  See <a href=\"https:\/\/github.com\/salcode\/stop-emails-logger\">Stop Emails Logger<\/a>.<\/p>","0.6.2":"<p>Minor update. &quot;Tested to&quot; version bump to 4.0 and added plugin icons<\/p>","0.6.1":"<p>Minor update. &quot;Tested to&quot; version bump to 3.9 and settings link added to plugins page<\/p>","0.6.0":"<p>Add admin Settings &gt; Stop Emails page with option to log stopped emails in PHP error log.<\/p>","0.5.0":"<p>Important - fixes breaking change in 0.4.0<\/p>","0.4.0":"<p>Add Spanish translation (es_ES)<\/p>","0.3.0":"<p>No significant change in functionality.\nAdded support for localization but no additional languages added.<\/p>","0.2.0":"<p>No significant change in functionality.\nPrimary motivation for update was to change &quot;Tested Up To:&quot; value to 3.8<\/p>","0.1.0":"<p>First Release<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":12},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":980422,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":980422,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":758931,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1.0","0.2.0","0.3.0","0.4.0","0.5.0","0.6.0","0.6.1","0.6.2","0.7.0","0.8.0","1.0.0","1.0.1","1.1.0","1.2.0","1.2.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":758933,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":758933,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"When the plugin is running, there will be a warning on the backend of the website.","2":"Lies! The email wasn't really sent, we're running Stop Emails"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[734,267],"plugin_category":[41],"plugin_contributors":[82980],"plugin_business_model":[],"class_list":["post-24749","plugin","type-plugin","status-publish","hentry","plugin_tags-development","plugin_tags-email","plugin_category-communication","plugin_contributors-salcode","plugin_committers-salcode"],"banners":{"banner":"https:\/\/ps.w.org\/stop-emails\/assets\/banner-772x250.png?rev=758931","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/stop-emails\/assets\/icon-128x128.png?rev=980422","icon_2x":"https:\/\/ps.w.org\/stop-emails\/assets\/icon-256x256.png?rev=980422","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/stop-emails\/assets\/screenshot-1.png?rev=758933","caption":"When the plugin is running, there will be a warning on the backend of the website."},{"src":"https:\/\/ps.w.org\/stop-emails\/assets\/screenshot-2.png?rev=758933","caption":"Lies! The email wasn't really sent, we're running Stop Emails"}],"raw_content":"<!--section=description-->\n<p>Stops outgoing emails sent from WordPress.  This plugin stops\noutgoing emails generated by WordPress core, plugins, and themes.\nEmails sent using the <code>wp_mail()<\/code> function, will not be sent.\nIn the case where an author does not use the recommended <code>wp_mail()<\/code>\nfunction and instead sends the email using another mechanism, an email will\nstill be sent.<\/p>\n\n<p>This plugin allows you to suspend sending emails when doing development work.\nAny calls to <code>wp_mail()<\/code> will fail silently.  WordPress\nwill operate as if the email were sent successfully\nbut no email will actually be sent.<\/p>\n\n<p>On the admin menu page Settings &gt; Stop Emails, there is the option\nto log all emails to the PHP error log.  By default this logging is\ndisabled.<\/p>\n\n<p>NOTE: If using the PHP <code>mail()<\/code> function directly, this\nplugin will NOT stop the emails.<\/p>\n\n<p>Built by <a href=\"http:\/\/salferrarello.com\/\">Sal Ferrarello<\/a> \/ <a href=\"http:\/\/twitter.com\/salcode\">@salcode<\/a><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install plugin from WordPress plugin repository http:\/\/wordpress.org\/plugins\/<\/li>\n<li>Activate Stop Emails through the 'Plugins' menu in WordPress.<\/li>\n<\/ol>\n\n<h4>Manual Installation<\/h4>\n\n<ol>\n<li>Upload the entire <code>stop-emails<\/code> directory to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate Stop Emails through the 'Plugins' menu in WordPress.<\/li>\n<\/ol>\n\n<h4>mu-plugin Installation<\/h4>\n\n<ol>\n<li>If the directory <code>wp-content\/mu-plugins\/<\/code> does not exist, create it.<\/li>\n<li>Upload the single file <code>stop-emails.php<\/code> to the  <code>wp-content\/mu-plugins\/<\/code> directory<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='where%20do%20the%20emails%20go%3F'><h3>Where do the emails go?<\/h3><\/dt>\n<dd><p>The emails are lost forever.<\/p><\/dd>\n<dt id='why%20are%20some%20of%20my%20emails%20still%20being%20sent%3F'><h3>Why are some of my emails still being sent?<\/h3><\/dt>\n<dd><p>Most likely, this is due to a plugin you have running.\nThere are two different things the plugin could be\ndoing to cause emails to still be sent.<\/p>\n\n<ol>\n<li>The plugin is overriding our overriding of the sending mechanism.<\/li>\n<li>The plugin is calling the PHP function <code>mail()<\/code> directly.<\/li>\n<\/ol>\n\n<p>Unfortunately in either of these cases, this plugin will not be able to stop\nthe email.<\/p><\/dd>\n<dt id='known%20incompatible%20plugins%3F'><h3>Known Incompatible Plugins?<\/h3><\/dt>\n<dd><p>A list of Known Incompatible Plugins is available at <a href=\"https:\/\/github.com\/salcode\/stop-emails\/wiki\/Known-Incompatible-Plugins\">https:\/\/github.com\/salcode\/stop-emails\/wiki\/Known-Incompatible-Plugins<\/a>.<\/p><\/dd>\n<dt id='i%20want%20to%20log%20the%20emails%20that%20are%20stopped'><h3>I want to log the emails that are stopped<\/h3><\/dt>\n<dd><p>You can enable logging of stopped emails on the\nadmin menu page Settings &gt; Stop Emails.<\/p>\n\n<p>Emails will be logged to your PHP error log.<\/p><\/dd>\n<dt id='why%20would%20i%20want%20install%20in%20the%20mu-plugins%20directory%3F'><h3>Why would I want install in the mu-plugins directory?<\/h3><\/dt>\n<dd><p>Activating a plugin normally requires logging into the site.\nInstalling the file in the mu-plugins directory allows you to\nactivate the plugin without logging in.  This can be\nhelpful when setting up an existing site locally.<\/p><\/dd>\n<dt id='where%20can%20i%20report%20a%20bug%3F'><h3>Where can I report a bug?<\/h3><\/dt>\n<dd><p>Please report bugs at https:\/\/github.com\/salcode\/stop-emails\/issues<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Conditionally modify how our fake PHPMailer extends the real PHPMailer class based on changes in PHPMailer introduced in WordPress core 5.5. This eliminates the message \"PHP Deprecated: class-phpmailer.php is deprecated since version 5.5.0!\" in the error logs.<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Add filter to force BuddyPress to use wp_mail() rather than its own BP_PHPMailer class<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Add Italian translation (it_IT), thanks to Andrea Gherardi https:\/\/twitter.com\/ilghera_TP<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>No changes to code functionality<\/li>\n<li>\"Tested Up To:\" version bump to 4.2<\/li>\n<li>Update to readme.txt to more clearly communicate plugin functionality<\/li>\n<li>Version bump to 1.0.1<\/li>\n<\/ul>\n\n<h4>0.8.0<\/h4>\n\n<ul>\n<li>Overhaul of plugin includes: fixing issue with plugin not stopping emails, moving to a class structure, changing email stopping\nbehavior to use the same technique as WordPress core tests, improved inline documentation,\naddtion of phpunit tests. Introduces a breaking change with https:\/\/github.com\/salcode\/stop-emails-logger<\/li>\n<\/ul>\n\n<h4>0.7.1<\/h4>\n\n<ul>\n<li>Added check for supporting files before loading them.  Since the primary functionality\nis in stop-emails.php, adding this check allows stop-emails.php to be used in the\nmu-plugins\/ directory (previously, it would throw warnings)<\/li>\n<\/ul>\n\n<h4>0.7.0<\/h4>\n\n<ul>\n<li>Added filter fe_stop_emails_log to allow other logging of blocked emails<\/li>\n<\/ul>\n\n<h4>0.6.2<\/h4>\n\n<ul>\n<li>\"Tested Up To:\" version bump to 4.0<\/li>\n<li>Add plugin icons<\/li>\n<\/ul>\n\n<h4>0.6.1<\/h4>\n\n<ul>\n<li>\"Tested Up To:\" version bump to 3.9<\/li>\n<li>Add Settings link to plugin page<\/li>\n<\/ul>\n\n<h4>0.6.0<\/h4>\n\n<ul>\n<li>Add admin settings page with option to enable logging of stopped emails to\nPHP error log<\/li>\n<\/ul>\n\n<h4>0.5.0<\/h4>\n\n<ul>\n<li>Correct breaking change<\/li>\n<\/ul>\n\n<h4>0.4.0<\/h4>\n\n<ul>\n<li>Add Spanish translation (es_ES), thanks to Andrew Kurtis from webhostinghub.com<\/li>\n<\/ul>\n\n<h4>0.3.0<\/h4>\n\n<ul>\n<li>Added support for localization<\/li>\n<\/ul>\n\n<h4>0.2.0<\/h4>\n\n<ul>\n<li>Added filter <code>fe_stop_emails_log_email<\/code> for $log_email value, which allows a programmer to add code to\nlog the blocked emails in the php_error.log<\/li>\n<li>Renamed functions and classes to follow WordPress standards<\/li>\n<\/ul>\n\n<h4>0.1.0<\/h4>\n\n<ul>\n<li>First release<\/li>\n<\/ul>","raw_excerpt":"Stop all outgoing emails sent from WordPress.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pirate.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/24749","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pirate.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pirate.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pirate.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=24749"}],"author":[{"embeddable":true,"href":"https:\/\/pirate.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/salcode"}],"wp:attachment":[{"href":"https:\/\/pirate.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=24749"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pirate.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=24749"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pirate.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=24749"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pirate.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=24749"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pirate.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=24749"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pirate.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=24749"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}