A custom Laravel mailer that captures outbound emails, saves them to the database, and provides a clean UI for viewing. For a local environment you have wonderful tools like HELO or Mailhog. For dev environments, there's really only Mailtrap. This is meant to replace that.
Do you just want to track your emails and don't need to capture them? Try out MailSpy.
You can install the package via composer:
composer require modernmcguire/mailthief
- Update your
.env
file
MAIL_MAILER=mailthief
- Run migrations
php artisan migrate
You can publish the config using Laravel's built in php artisan vendor:publish
The UI can be found at /dev/emails. This path is configurable via the config file.
composer test
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email ben@modernmcguire.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.
This package was generated using the Laravel Package Boilerplate.