berthott/laravel-mail-logging

Laravel Helper for scheduling model related tasks

3.0.0 2023-02-24 10:12 UTC

This package is auto-updated.

Last update: 2025-03-11 15:24:54 UTC


README

test workflow

Laravel-Mail-Logging

Laravel Helper for logging outgoing mails.

Installation

$ composer require berthott/laravel-mail-logging

Usage

  • You only need to install the package and will have a storage/logs/mail.log file giving you some insights of outgoing mails.

Options

To change the default options use

$ php artisan vendor:publish --provider="berthott\MailLogging\MailLoggingServiceProvider" --tag="config"

You can specify the mail logging channel according to the Laravel Documentation. Defaults to

    'driver' => 'single',
    'path' => storage_path('logs/mail.log'),
    'level' => 'debug',

Compatibility

Tested with Laravel 10.x.

License

See License File. Copyright © 2023 Jan Bladt.