yorick/replace-mail-dev

Changes the recipient email in development

v1.0.1 2020-06-05 13:32 UTC

This package is not auto-updated.

Last update: 2024-05-05 03:59:27 UTC


README

This package replaces the recipient email address in development with Laravel(v7)

Install:

$ composer require yorick/replace-mail-dev --dev

Publish configuration file:

$ php artisan vendor:publish --provider="Yorick\ReplaceMailDev\CustomMailServiceProvider" --tag="config"

replaceEmail.php

    return [

        'emailTo' => 'example@mail.com' //change email

    ];

cc and bcc will not be sent.