Title: Block All Emails
Author: WP Duck 🐥
Published: <strong>September 14, 2024</strong>
Last modified: January 4, 2025

---

Search plugins

![](https://ps.w.org/block-all-emails/assets/banner-772x250.png?rev=3217019)

![](https://ps.w.org/block-all-emails/assets/icon-256x256.png?rev=3217017)

# Block All Emails

 By [WP Duck 🐥](https://profiles.wordpress.org/wpduckcom/)

[Download](https://downloads.wordpress.org/plugin/block-all-emails.1.0.2.zip)

 * [Details](https://pcd.wordpress.org/plugins/block-all-emails/#description)
 * [Reviews](https://pcd.wordpress.org/plugins/block-all-emails/#reviews)
 *  [Installation](https://pcd.wordpress.org/plugins/block-all-emails/#installation)
 * [Development](https://pcd.wordpress.org/plugins/block-all-emails/#developers)

 [Support](https://wordpress.org/support/plugin/block-all-emails/)

## Description

Stops all outgoing emails to ensure no emails are sent from your WordPress site,
particularly useful for staging environments. This plugin is compatible with PHP
versions 5.0 through 8.3 and has been tested up to WordPress version 6.6.

**Updates in Version 1.0.1:**
 – Updated function and class names with a unique 
prefix to prevent conflicts with other plugins. – Added text domain loading for 
translations. – Ensured all user-facing strings are translatable and properly escaped.–
Improved code to adhere to WordPress Plugin guidelines.

## Installation

 1. Upload the plugin files to the `/wp-content/plugins/block-all-emails/` directory,
    or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress.

## FAQ

### Is this plugin compatible with all email plugins?

Yes, Block All Emails is designed to block emails sent by popular email plugins 
like WP Mail SMTP, Mailgun, FluentSMTP, and more.

### What versions of PHP does this plugin support?

Block All Emails is compatible with PHP versions 5.0 through 8.3, ensuring broad
compatibility across various server environments.

### What versions of WordPress is this plugin tested with?

This plugin has been tested with WordPress versions 5.0 through 6.6, ensuring reliable
performance on modern WordPress installations.

## Reviews

![](https://secure.gravatar.com/avatar/7c96c9fb86b76afdfef7941be400260981ca74f064090c7eebec76ccf39f1b5e?
s=60&d=retro&r=g)

### 󠀁[Blocks all emails perfectly](https://wordpress.org/support/topic/blocks-all-emails-perfectly/)󠁿

 [debughere](https://profiles.wordpress.org/debughere/) September 15, 2024

Good plugin to block all emails. Seems to be one click install (no setup needed)
A++

 [ Read all 1 review ](https://wordpress.org/support/plugin/block-all-emails/reviews/)

## Contributors & Developers

“Block All Emails” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ WP Duck 🐥 ](https://profiles.wordpress.org/wpduckcom/)

[Translate “Block All Emails” into your language.](https://translate.wordpress.org/projects/wp-plugins/block-all-emails)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/block-all-emails/),
check out the [SVN repository](https://plugins.svn.wordpress.org/block-all-emails/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/block-all-emails/)
by [RSS](https://plugins.trac.wordpress.org/log/block-all-emails/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.2

 * Updated to WordPress 6.7.1
 * Adds assets to WordPress Plugin Page

#### 1.0.1

 * Updated function and class names with a unique prefix to prevent conflicts.
 * Added text domain loading for translations.
 * Ensured all strings are translatable and properly escaped.
 * Improved code compliance with WordPress Plugin guidelines.

#### 1.0.0

 * Initial release.
 * Supports PHP 5.0 through 8.3.
 * Tested up to WordPress 6.6.

## Meta

 *  Version **1.0.1**
 *  Last updated **1 year ago**
 *  Active installations **10+**
 *  WordPress version ** 5.0 or higher **
 *  Tested up to **6.7.5**
 *  PHP version ** 5.0 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/block-all-emails/)
 * Tags
 * [admin](https://pcd.wordpress.org/plugins/tags/admin/)[email](https://pcd.wordpress.org/plugins/tags/email/)
   [mailgun](https://pcd.wordpress.org/plugins/tags/mailgun/)[smtp](https://pcd.wordpress.org/plugins/tags/smtp/)
   [wp-mail](https://pcd.wordpress.org/plugins/tags/wp-mail/)
 *  [Advanced View](https://pcd.wordpress.org/plugins/block-all-emails/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/block-all-emails/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/block-all-emails/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/block-all-emails/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/block-all-emails/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/block-all-emails/reviews/?filter=1)

[Add my review](https://wordpress.org/support/plugin/block-all-emails/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/block-all-emails/reviews/)

## Contributors

 *   [ WP Duck 🐥 ](https://profiles.wordpress.org/wpduckcom/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/block-all-emails/)