=== Icode Mail Logger ===
Contributors: skksandy91
Requires at least: 5.7
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

A high-performance, lightweight WordPress email logging plugin with zero front-end performance overhead and a premium admin dashboard.

== 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.

== Frequently Asked Questions ==

= 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. 

== Changelog ==

= 1.0.0 =
* Initial release.
