Support for October CMS v2 (Forked)
The original version of this plugin was abandoned. This is an actively maintained fork of the original plugin that supports October CMS v2.
(Initially forked from suresoftware/october-mail-log)
OctoberCMS Mail Log
This plugin provides a backend log for all the outgoing mail sent by the website. It tracks the addresses to, from, subject, template and timestamp of the email that was sent. This is useful for debugging email sending issues and auditing if mail was sent or not. Only mail that was successfully sent is tracked currently.
Logs by default are only retained for 30 days.
Documentation
Simply install it and it will start running. It has currently been tested with both the log and SMTP drivers. Please open an issue on the GitHub Repository if you run into any other issues.
Configuration
You can change the number of days the log will be retained for in the "Mail Log Settings" area. The default is 30 days.
Commands
php artisan mailog:purge 30
Purge all mail logs after x number of days. Default is 30
Documentation
Simply install it and it will start running. It has currently been tested with both the log and SMTP drivers. Please open an issue on the GitHub Repository if you run into any other issues.
Configuration
You can change the number of days the log will be retained for in the "Mail Log Settings" area. The default is 30 days.
Commands
php artisan mailog:purge 30
Purge all mail logs after x number of days. Default is 30
-
Nathan Smith
Found the plugin not useful on 30 Aug, 2024
Has issues on clean installation when syncing new project new install of october v3.6.29 Root composer.json requires voilaah/maillog-plugin ^2.1, found voilaah/maillog-plugin[dev-master] but it does not match the constraint.
-
2.1.0 |
Changed permissions to use default log permissions Oct 11, 2022 |
---|---|
2.0.0 |
!!! 'Added in automatic mail log purging. This will automatically purge mail logs that are 30 days or older by default' Oct 11, 2022 |
1.2.0 |
Removed automatic mail purge Oct 11, 2022 |
1.1.2 |
Add a command to purge the log after X days and a setting to configure it Oct 11, 2022 |
1.1.1 |
Updated /models/MailLog.php - Fixes issue count(): Parameter must be an array or an object that implements Countable Oct 11, 2022 |
1.1.0 |
Store mail content, attachments list, CC & BCC fields Oct 11, 2022 |
1.0.2 |
Created table voilaah_maillog_log Oct 11, 2022 |
1.0.1 |
Initialize plugin. Oct 11, 2022 |