mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-12 22:22:32 +01:00
1b6ec9699a
* Working on GMail Driver * working on custom Gmail Mail Provider * Add total_taxes to quotes and recurring_* * Implementation of new mailserviceprovider to allow native use of Mail:: with gmail email sending
17 lines
378 B
PHP
17 lines
378 B
PHP
<?php
|
|
|
|
namespace App\Providers;
|
|
|
|
use App\Helpers\Mail\GmailTransportManager;
|
|
use Illuminate\Mail\MailServiceProvider as MailProvider;
|
|
|
|
class MailServiceProvider extends MailProvider
|
|
{
|
|
protected function registerSwiftTransport()
|
|
{
|
|
$this->app->singleton('swift.transport', function ($app) {
|
|
return new GmailTransportManager($app);
|
|
});
|
|
}
|
|
|
|
} |