Skip to content

modernmcguire/mailthief

Repository files navigation

Mailthief

A drop-in replacement for Mailtrap

Latest Version on Packagist Total Downloads

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.

Alt text


Do you just want to track your emails and don't need to capture them? Try out MailSpy.


Installation

You can install the package via composer:

composer require modernmcguire/mailthief
  1. Update your .env file
MAIL_MAILER=mailthief
  1. Run migrations
php artisan migrate

And that's it!

Usage

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.

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email ben@modernmcguire.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

Laravel Package Boilerplate

This package was generated using the Laravel Package Boilerplate.