Introduction

Record and view all sent emails

Watch a video walkthrough

Installation

You can install the package via composer:

composer require dcblogdev/laravel-sent-emails

Migration

You can publish the migration with:

php artisan vendor:publish --provider="Dcblogdev\LaravelSentEmails\SentEmailsServiceProvider" --tag="migrations"

After the migration has been published you can the tables by running the migration:

php artisan migrate

Config

You can publish the config with:

php artisan vendor:publish --provider="Dcblogdev\LaravelSentEmails\SentEmailsServiceProvider" --tag="config"

After the config has been published you can change the route path for sentemails from /sentemails to anything you like such as /admin/sentemails:

'routepath' => 'sentemails'

Views

You can publish the view with:

php artisan vendor:publish --provider="Dcblogdev\LaravelSentEmails\SentEmailsServiceProvider" --tag="views"

The views will be published to resources/views/vendor/sentemails

You can change the views to match your theme if desired.

Usage

As soon as an email is sent it will be added to a database table and will be viewable in /sentemails.

Note the you have to be logged in to be able to see sentemails, if you are not logged in when you attempt to see sentemails you will be redirected to a login route.

Support my work by donating with PayPal.

Subscribe to my newsletter

Subscribe and get my books and product announcements.

© 2009 - 2021 DC Blog. All code MIT license. All rights reserved.