A Laravel package to catch outbound mail (similar to Mailtrap) that also provides a UI to view them.
modernmcguire/mailthief is a Laravel package for a laravel package to catch outbound mail (similar to mailtrap) that also provides a ui to view them..
It currently has 31 GitHub stars and 9.101 downloads on Packagist (latest version v0.7.0).
Install it with composer require modernmcguire/mailthief.
Discover more Laravel packages by modernmcguire
or browse all Laravel packages to compare alternatives.
Last updated
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
.env fileMAIL_MAILER=mailthief
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 [email protected] 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.