|Ratings|| ||Unique User Downloads|| ||Download Rankings|
|Not yet rated by the users||Total: 71 ||All time: 10,067 This week: 328|
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
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
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.