PlugTheHole Mail Log

By PlugTheHole

0+ active installationsVersion 0.4.7

Privacy-friendly short-term outgoing email logging for WordPress.

Description

PlugTheHole Mail Log records outgoing WordPress emails in a clean admin table. It is designed for short-term troubleshooting, clear support checks and privacy-conscious WordPress sites.

Features include:

  • Outgoing email logging.
  • Failed email logging.
  • Status filter and search.
  • Popup email preview.
  • CSV export.
  • Daily retention cleanup.
  • Admin-selectable short-term retention of 7, 14 or 30 days.
  • Manual cleanup button.
  • Single and bulk log deletion.
  • Resend to original recipient without creating a new log entry.
  • Clear all logs with confirmation.
  • Optional privacy mode to avoid storing message previews.

Optional Pro Add-on

PlugTheHole Mail Log is fully functional on its own. A separate PlugTheHole Mail Log Pro add-on is available from PlugTheHole.com for sites that need additional team, monitoring and troubleshooting tools.

The separate Pro add-on includes advanced search, saved searches, failure alerts, audit logging, role-based access controls, advanced exports, custom redaction, retention profiles and email test tools.

Installation

  1. Upload the plugthehole-mail-log plugin folder to /wp-content/plugins/.
  2. Activate PlugTheHole Mail Log in WordPress.
  3. Go to Mail Log in the admin menu.
  4. Review the settings and choose the retention period that fits your site.

FAQ

Does this store full emails?

It stores a safe preview by default. You can turn preview storage off in the settings.

Does it store attachments?

No. It only stores attachment names.

Does this prove an email was delivered?

No. It records that WordPress attempted to send the email through the normal WordPress mail system. Inbox delivery still depends on your mail server, SMTP setup, DNS records and the recipient mail system.

How long are logs kept?

The default is 7 days. Site admins can choose 7, 14 or 30 days in the plugin settings. Shorter retention is recommended for privacy and database size.

Changelog

0.4.7

  • Fixed unfiltered database queries so wpdb::prepare() is only called when placeholders are present.
  • Hardened admin request sanitisation.
  • Corrected bundled translation catalogue headers.
  • Tested up to WordPress 7.1.

0.4.5

  • Fixed translator comment placement for plural retention labels to satisfy WordPress Plugin Check.

0.4.4

  • Added the required translator context for the retention day pluralisation string to satisfy WordPress internationalisation checks.

0.4.3

  • Added a restrained Mail Log Pro information panel to the plugin’s own admin pages.
  • Added a Mail Log Pro link to the Plugins screen.
  • Clarified that Pro is a separate optional add-on and is not required for the free plugin.

0.4.2

  • Changed retention to an admin-selectable short-term setting with 7, 14 and 30 day options.
  • Removed old beta slug handling.
  • Moved admin JavaScript and CSS into enqueued asset files.
  • Added the required bulk action nonce to the log table form.
  • Removed commercial-upgrade wording from the repository package.

0.4.1

  • Updated plugin URI to the dedicated plugin page.
  • Updated Tested up to to 7.0 using major/minor format only.

0.4.0

  • Renamed the plugin to PlugTheHole Mail Log.
  • Updated the plugin slug, main file name and text domain to plugthehole-mail-log.
  • Updated the readme and plugin headers to the new display name.
  • Updated Tested up to to 7.0.