Giter Club home page Giter Club logo

mailbase's Introduction

Laravel Mail Catcher Driver

This package include a new mailbase driver which will catch all the sent emails and save it to the database. It then exposes a route /mailbase which you can visit to preview all the mails.

Mailbase preview

Installation

Laravel 7.x or higher

To install run the following command in your terminal:

composer require tkeer/mailbase --dev

Then run the migration

php artisan migrate

Finally, change MAIL_MAILER to mailbase in your .env file:

MAIL_MAILER=mailbase

Laravel (5.x|6.x)

composer require tkeer/mailbase ^0.4 --dev
php artisan migrate

change MAIL_DRIVER to mailbase in your .env file:

Usage

Send dummy email

You can run following command to test mailbase driver by sending a dummy email.

php artisan mailbase:test

Clearing Saved Emails

If you want to clear any of the saved emails that are in the database, use the following command:

php artisan mailbase:clear

mailbase's People

Contributors

ash-jc-allen avatar beauraines avatar mohd-e-mustafa avatar spekulatius avatar tkeer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

mailbase's Issues

Is mailbase an external service

Hi,

I want to find out if mailbase is an external service that tracks emails or a php workaround to catch emails in Laravel.

Thank You

Laravel 7 Support

Please change the code from MailbaseServiceProvider from:

        app('swift.transport')->extend('mailbase', function ($app) {
            return new MailbaseTransport();
        });

To:

        app(MailManager::class)->extend('mailbase', function ($app) {
            return new MailbaseTransport();
        });

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.