Installation

This package requires the PECL mailparse extension

Run the composer install command from the terminal:

composer require axyr/laravel-email-viewer

Publish the database migration and configuration file:

php artisan vendor:publish --provider="Axyr\EmailViewer\EmailViewerServiceProvider"

By default this package provides a set of routes for the Blade UI and the Vue UI. You can disabled them in the config file.

You can access the Blade UI by visiting:

https://your-host.tld/emails

To send a test email the package provides a simple Test command. By default it will send to the laraval config value mail.from.address

php artisan email-viewer:send-test --from=from@sender.tld --to=to@recipient.tld

Last updated