1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-16 08:02:40 +01:00
invoiceninja/app/Helpers/Mail/GmailTransportManager.php

25 lines
629 B
PHP
Raw Normal View History

<?php
/**
* Invoice Ninja (https://invoiceninja.com).
*
* @link https://github.com/invoiceninja/invoiceninja source repository
*
* @copyright Copyright (c) 2021. Invoice Ninja LLC (https://invoiceninja.com)
*
2021-06-16 08:58:16 +02:00
* @license https://www.elastic.co/licensing/elastic-license
*/
namespace App\Helpers\Mail;
2021-02-10 12:34:39 +01:00
use Illuminate\Mail\MailManager;
use App\CustomMailDriver\CustomTransport;
use Dacastro4\LaravelGmail\Services\Message\Mail;
2021-02-11 12:37:58 +01:00
use Illuminate\Support\Facades\Config;
2021-02-10 12:34:39 +01:00
class GmailTransportManager extends MailManager
{
2021-02-10 12:34:39 +01:00
protected function createGmailTransport()
{
return new GmailTransport(new Mail);
}
2021-02-10 12:34:39 +01:00
}