A quick plugin to create an audit trail of emails sent from your site to another email address.
This plugin allows you to create an audit trail of emails sent from your site using the BCC function.
BCC (or Blind Carbon Copy) sends a copy of the email to another email address without informing the To or CC recipients.
This is very useful when testing a new site to make sure that emails are being sent at the correct times and to the correct recipients.
FAQ
Why didn’t my email get BCC’d?
This plugin works by hooking into the wp_mail filter. If a plugin passes the normal wp_mail function, this plugin is set up for that.
Please report this in the support tab and we will add the functionality if possible!
ChangeLog
We use the Semantic Versioning system of defining versions (https://semver.org/).
This means that version 1.10 is a minor update for the version 1.x branch and version 2.0 is a MAJOR update.
We will not wrap version numbers of double digits.
1.2.0
- fix: no longer adds an empty Bcc header to every email when no address is set
- fix: re-validate every address before it is added to an email’s headers
- fix: avoid fatal errors on PHP 8 when the setting or the wp_mail arguments are not in the expected form
- fix: the autoloader only loads this plugin’s own bundled classes
- fix: load translated labels on init, avoiding the WordPress 6.7+ early translation notice
- fix: correct the Text Domain plugin header
- chore: update the bundled settings library (PHP 8.4 and strict types fixes, escaping, standard Save button)
- feat: the setting is removed when the plugin is deleted, without leaving global variables behind
- chore: tested up to WordPress 7.1; requires WordPress 6.5 or later
- chore: update coding standards tooling (WPCS 3, PHPCompatibilityWP)
1.1.1
- feat: add documentation link to plugin meta
1.1.0
- chore: update branding to Watch The Dot / support.watchthedot.com
- chore: update watchthedot/library-settings
- fix: add namespace to plugin file
therefore using WatchTheDot\Plugins instead of global namespace
- fix: use static functions when $this is not referenced
This fixes a memory leak standard to using anonymous functions in classes
- reactor: remove Plugin::__ helper method and instead use __ directly
- chore: tested up to WP 6.4
- fix: missing composer directory breaking plugin load
1.0.0