modernmcguire/mailthief

A Laravel package to catch outbound mail (similar to Mailtrap) that also provides a UI to view them.

v0.2.1 2023-11-16 17:30 UTC

This package is auto-updated.

Last update: 2024-04-16 18:16:58 UTC


README

A drop-in replacement for Mailtrap

Latest Version on Packagist Total Downloads

MailThief Logo

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.

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.