2017 © Pedro Peláez
 

library mail-catcher

A Laravel package to forcely change email address to send for email testing.

image

sukohi/mail-catcher

A Laravel package to forcely change email address to send for email testing.

  • Thursday, May 19, 2016
  • by Sukohi
  • Repository
  • 1 Watchers
  • 0 Stars
  • 8 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

laravel-mail-catcher

A Laravel package to forcedly change sending email address when email testing.
(This is for Laravel 5+. For Laravel 4.2), (*1)

Installation

Execute composer command., (*2)

composer require sukohi/mail-catcher:2.*

Replace the service provider in app.php, (*3)

Illuminate\Mail\MailServiceProvider::class to Sukohi\MailCatcher\MailCatcherServiceProvider::class, (*4)

Also alias, (*5)

'Mail' => Illuminate\Support\Facades\Mail::class to 'Mail' => Sukohi\MailCatcher\Facades\Mailer::class, (*6)

Usage

You can use \Mail::send() as well as before.
However if config/mail.php has mail_catcher value like the below, sending email address will change forcedly., (*7)

return array(

    // Others

    'mail_catcher' => client@example.com

);

or you can set multiple email addresses., (*8)

return array(

    // Others

    'mail_catcher' => [
        'client@example.com',
        'client2@example.com',
    ]

);

License

This package is licensed under the MIT License., (*9)

Copyright 2016 Sukohi Kuhoh, (*10)

The Versions

19/05 2016

2.0.x-dev

2.0.9999999.9999999-dev

A Laravel package to forcely change email address to send for email testing.

  Sources   Download

MIT

The Requires

 

by Avatar Sukohi

19/05 2016

dev-master

9999999-dev

A Laravel package to forcely change email address to send for email testing.

  Sources   Download

MIT

The Requires

 

by Avatar Sukohi

19/05 2016

2.0.0

2.0.0.0

A Laravel package to forcely change email address to send for email testing.

  Sources   Download

MIT

The Requires

 

by Avatar Sukohi

19/05 2016

1.0.x-dev

1.0.9999999.9999999-dev

A Laravel package to forcedly change sending email address when email testing.

  Sources   Download

MIT

The Requires

 

by Avatar Sukohi

19/05 2016

1.0.0

1.0.0.0

A Laravel package to forcedly change sending email address when email testing.

  Sources   Download

MIT

The Requires

 

by Avatar Sukohi