Add boot up for gmail api transport

This commit is contained in:
David Bomba 2022-06-24 13:25:02 +10:00
parent ff783804ff
commit 6bd785cc66

View File

@ -39,6 +39,19 @@ class MailServiceProvider extends MailProvider
public function registerGmailApiMailer() public function registerGmailApiMailer()
{ {
// $factory = new GmailApiTransportFactory();
// if (! isset($config['secret'])) {
// $config = $this->app['config']->get('services.mailgun', []);
// }
// return $factory->create(new Dsn(
// 'gmail+api'),
// $config['endpoint'] ?? 'default',
// $config['secret'],
// $config['domain']
// ));
} }
public function registerMicrosoftMailer() public function registerMicrosoftMailer()