New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

iwedmak/mail-log

Log emails in laravel 5
433 3
Install
composer require iwedmak/mail-log
Latest Version:0.06
PHP:>=5.5.0
Laravel:5
License:MIT
Last Updated:Sep 8, 2019
Links: GitHub  ·  Packagist
Maintainer: iWedmak

laravel-5-mail-log

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.

  • install
composer require iwedmak/mail-log
  • Or
php composer.phar require iwedmak/mail-log
  • Or add to composer.json
"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.

Related Packages

spatie/laravel-mail-preview

A mail driver to quickly preview mail

601,466 1,293
mixdinternet/mmails

Permite a configuração dos e-mails no admix

1,769 2
ovidiu-ostafi/swiftbcc

Laravel bcc plugin for swift library

19 0
vemcogroup/laravel-sparkpost-driver

SparkPost driver to use with Laravel 6.x|7.x|8.x|9.x|10.x

1,912,868 42
directorytree/imapengine

A fully-featured PHP native IMAP library

659,330 582

Version History

Version Released PHP Laravel License
0.06 >=5.5.0 5.* MIT
0.05 >=5.5.0 5.* MIT
0.04 >=5.5.0 5.4 MIT
0.03 >=5.5.0 5.4 MIT
0.02 >=5.5.0 5.* MIT