ZDN Whitelist Outgoing Email prevents WordPress from accidentally sending emails to real users in development or staging environments, and keeps a searchable log of everything that left the site.
Filtering is off by default after activation so a live site is not affected until you enable it. When filtering is on and the allowlist is empty, every recipient is redirected to the fallback address.
*@example.com.[email protected] <[email protected]>).PHP_INT_MIN so filtering runs before any other mail plugin; logging runs last at PHP_INT_MAX.When email logging is enabled, the plugin stores outgoing message metadata and bodies locally (recipients, subject, body, headers, attachment paths, status, errors, and server address). Access is limited to administrators (manage_options).
Retention options control automatic deletion by count and/or age. Individual or bulk logs can be deleted from the Email Logs screen. Uninstalling the plugin removes the log table, plugin options, and related scheduled events.
Suggested privacy-policy text is also registered with WordPress under Settings Privacy for site owners to adapt.
The optional PHP error-log setting writes replacement events to the server error log only (no external service).