Icode Mail Logger

Description

Icode Mail Logger is an incredibly lightweight, lightning-fast WordPress email logger designed for developers and site owners who need absolute reliability without sacrificing database performance.

It uses an advanced vertical database partitioning technique to ensure search and filtering queries execute in milliseconds, while safely compressing the massive HTML body payloads (using GZIP) in a secondary table. It also completely avoids using React or heavy build steps in the admin area, utilizing Vanilla CSS and Alpine.js for a premium SPA dashboard experience.

Key Features

  • Zero Front-End Overhead: Only hooks into the core mailing functions; zero impact on the rest of your site.
  • Vertical Database Partitioning: Blazing fast logs thanks to split architecture and native FULLTEXT MySQL indexing.
  • Advanced Sandbox Mode: Safely block outbound emails on staging and local environments, while still logging them as “Sandboxed” for review.
  • Developer Inspector: Accurately calculates the exact originating Plugin, Theme, or Core file that triggered the email along with a line-by-line PHP call stack backtrace.
  • Resend Emails: Instantly retry failed emails or resend them with a single click.
  • Auto-Cleanup: A lightweight, daily WP-Cron task automatically purges logs older than your specified retention days to keep your database lean.

Installation

  1. Upload the icode-mail-logger directory to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Access the ‘Fast Mail Logs’ dashboard from the sidebar to inspect your outgoing emails or modify your retention and Sandbox settings.

FAQ

Does this plugin slow down the database?

No. By splitting the heavy email bodies and backtraces into a secondary “payloads” table, the primary logs table remains incredibly small and heavily indexed, resulting in zero noticeable lag even with millions of logs.

Are attachments stored?

To preserve disk space and database performance, attachments are flagged (via the has_attachments indicator) but their raw binary data is not duplicated into the logs database.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Icode Mail Logger” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Icode Mail Logger” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0.0

  • Initial release.