| Package Data | |
|---|---|
| Maintainer Username: | iWedmak |
| Maintainer Contact: | iwedmak@gmail.com (iWedmak Om) |
| Package Create Date: | 2016-02-06 |
| Package Last Update: | 2019-09-08 |
| Home Page: | https://packagist.org/packages/iwedmak/mail-log |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-10-25 15:03:26 |
| Package Statistics | |
|---|---|
| Total Downloads: | 433 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 3 |
| Total Watchers: | 1 |
| Total Forks: | 3 |
| Total Open Issues: | 0 |
Logs every email sended by laravel (via Mail class include queued mails), preventing duplicates, u can override this by adding in bcc skeep@me.com or u can limit frequency (by default 30 minutes) of duplicates by adding in bcc delay@me.com (this can be changed in config file)
Monitors email reads, have event MessageRead.
composer require iwedmak/mail-log
php composer.phar require iwedmak/mail-log
"iwedmak/mail-log": "dev-master"
Register provider, add this to config/app.php in providers array:
iWedmak\Mail\MailLogServiceProvider::class,
After that u will need to publish config
php artisan vendor:publish
and publish migrations and migrate
php artisan maillog:migration
php artisan migrate
Now we can subscribe to mailsend event, by adding to app/Providers/EventServiceProvider.php
protected $subscribe = [
'iWedmak\Mail\MailEventListener',
];
Now u have one more event, it's iWedmak\Mail\MessageRead when email was read.