gabrieliuga/laravel-mail-log

Record all outgoing emails from.

v1.0.9 2020-05-14 10:37 UTC

This package is auto-updated.

Last update: 2020-05-14 10:39:45 UTC


README

Latest Version on Packagist Build Status Quality Score StyleCI Total Downloads

Log all outgoing emails from your laravel application

Installation

You can install the package via composer:

composer require gabrieliuga/laravel-mail-log

Usage

artisan migrate

artisan vendor:publish --tag=maillog-config

Setup auto clear command in app/Console/Kernel.php add ClearOldEmails::class

/**
 * The Artisan commands provided by your application.
 *
 * @var array
 */
protected $commands = [
    ClearOldEmails::class,
];

/**
 * Define the application's command schedule.
 *
 * @param  \Illuminate\Console\Scheduling\Schedule  $schedule
 * @return void
 */
protected function schedule(Schedule $schedule)
{
    $schedule->command('giuga:purge-mail-log')->daily();
}

Testing

phpunit

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email me@iuga.dev instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.