mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 17:44:32 -04:00
Fix for multiple email accounts
This commit is contained in:
parent
11460774a9
commit
d0e58b1ef9
@ -80,6 +80,7 @@ class Mailer
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$fromEmail = config('mail.from.address');
|
||||||
$app = \App::getInstance();
|
$app = \App::getInstance();
|
||||||
$app->singleton('swift.transport', function ($app) {
|
$app->singleton('swift.transport', function ($app) {
|
||||||
return new \Illuminate\Mail\TransportManager($app);
|
return new \Illuminate\Mail\TransportManager($app);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user