|Last Updated|| ||Ratings|| ||Unique User Downloads|| ||Download Rankings|
|2018-07-17 (1 month ago) ||Not yet rated by the users||Total: 2 This week: 1||All time: 9,327 This week: 365|
This package can track messages sent by Laravel mail to act on them.
It comes with an service provider that tracks mail sending events and can perform several actions like:
- Log messages sent by the Laravel mail class
- Prevent sending duplicate messages
- Monitor messages read by recipients
Logs every email sended by laravel (via Mail class include queued mails), preventing duplicates, u can override this by adding in bcc
email@example.com or u can limit frequency (by default 30 minutes) of duplicates by adding in bcc
firstname.lastname@example.org (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
- Or add to composer.json
Register provider, add this to config/app.php in providers array:
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
protected $subscribe = [
Now u have one more event, it's
iWedmak\Mail\MessageRead when email was read.
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.