Mail preview package for laravel

0.2 2017-12-27 21:06 UTC

This package is not auto-updated.

Last update: 2024-05-12 00:34:25 UTC


Software License Build Status Total Downloads

Mail preview for Laravel 5.

Email are opened directly in your browser. Works for emails sent in background as well (just make sure your base url is configured).


Via Composer

$ composer require armandsar/mail-mango --dev

You'll only want this for local development, so you should not update providers array in config/app.php.

Instead, add the provider in app/Providers/AppServiceProvider.php, like so:

public function register()
	if ($this->app->environment() == 'local') {

Set "mail_mango" as your mail driver.

Send emails and see them straight in your browser or head to to see all emails

Publish config

$ php artisan vendor:publish

Console command to open email in browser

See mail_mango.php from published config to configure this to fit your needs. Defaults to xdg open on Linux and open on Mac.

See published config for other settings


Change layout


$ phpunit


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