mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01: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->singleton('swift.transport', function ($app) {
|
||||
return new \Illuminate\Mail\TransportManager($app);
|
||||
|
Loading…
Reference in New Issue
Block a user