|Last Updated|| ||Ratings|| ||Unique User Downloads|| ||Download Rankings|
|2018-07-17 (3 months ago) ||Not yet rated by the users||Total: 62 This week: 1||All time: 9,255 This week: 484|
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
|Laravel is a popular framework that comes with email sending components.
However, applications that need email handling capabilities often require more than just sending messages.
This package implements other types of useful email handling capabilities like prevent sending duplicate messages or monitoring of whether the recipients of messages have read them.
Logs every email sended by laravel (via Mail class include queued mails), preventing duplicates, u can override this by adding in bcc
firstname.lastname@example.org or u can limit frequency (by default 30 minutes) of duplicates by adding in bcc
email@example.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
- 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.