1
0
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:
Hillel Coren 2018-05-08 11:59:10 +03:00
parent 11460774a9
commit d0e58b1ef9

View File

@ -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);