Fix for multiple email accounts
This commit is contained in:
parent
d44834d5ee
commit
e7e5ee252d
1 changed files with 1 additions and 0 deletions
|
|
@ -80,6 +80,7 @@ class Mailer
|
|||
}
|
||||
}
|
||||
|
||||
$fromEmail = config('mail.from.address');
|
||||
$app = \App::getInstance();
|
||||
$app->singleton('swift.transport', function ($app) {
|
||||
return new \Illuminate\Mail\TransportManager($app);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue