Skip to content

Easily log and view in browser outgoing emails.

Notifications You must be signed in to change notification settings

canylmz/laravel-mail-viewer

 
 

Repository files navigation

Laravel 5.5+ mail logger and viewer

Easily log and view and search in browser outgoing emails.

preview

This package gives an ability to log all outgoing emails to a database and view them all from a browser like they will be shown in a modern mail clients (gmail, etc.).

Installation

Step 1: Composer

From the command line, run:

composer require masterro/laravel-mail-viewer

Step 2: Service Provider (Supports package auto-discovery)

For manual registration open config/app.php and, within the providers array, append:

MasterRO\MailViewer\Providers\MailViewerServiceProvider::class

This will bootstrap the package into Laravel.

Step 3: Publish Configs

php artisan vendor:publish --provider="MasterRO\MailViewer\Providers\MailViewerServiceProvider"

You have to publish assets, and views, configs are optional.

Step 4: Run migrations

php artisan migrate

Step 5: View emails

All ongoing emails would be displayed on /_mail-viewer page by default.

About

Easily log and view in browser outgoing emails.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 62.1%
  • HTML 18.8%
  • PHP 15.2%
  • CSS 3.9%