WP Manifestindependent plugin directory
manifest / email / cgit-wp-disable-mail

Castlegate IT WP Disable Mail

Disable email sent with the wp_mail function.

by Castlegate IT · github.com/castlegateit/cgit-wp-disable-mail · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/castlegateit/cgit-wp-disable-mail/archive/refs/heads/main.zip

Declares an update source (https://github.com/castlegateit/cgit-wp-disable-mail), so updates arrive through the plugin's own updater.

Readme

Castlegate IT WP Disable Mail

Castlegate IT WP Disable Mail replaces wp_mail() with a function that returns true without sending mail to prevent a WordPress website from sending mail. Any other plugins that replace the wp_mail() function should be disabled while this plugin is active.

If the constant CGIT_WP_DISABLE_MAIL_LOG has been defined, the plugin will log all attempts to send mail to this file.

define('CGIT_WP_DISABLE_MAIL_LOG', '/path/to/mail.log');

License

Released under the MIT License. See LICENSE for details.

Read the full README on GitHub →

Releases

TagPublished
v1.2.3 Dec 19, 2025
v1.2.2 Dec 19, 2025

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.