mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Fixes for returning mail providers
This commit is contained in:
parent
d53c36d3ef
commit
53a930f6c4
@ -243,19 +243,19 @@ class NinjaMailerJob implements ShouldQueue
|
||||
case 'gmail':
|
||||
$this->mailer = 'gmail';
|
||||
$this->setGmailMailer();
|
||||
return;
|
||||
return $this;
|
||||
case 'office365':
|
||||
$this->mailer = 'office365';
|
||||
$this->setOfficeMailer();
|
||||
return;
|
||||
return $this;
|
||||
case 'client_postmark':
|
||||
$this->mailer = 'postmark';
|
||||
$this->setPostmarkMailer();
|
||||
return;
|
||||
return $this;
|
||||
case 'client_mailgun':
|
||||
$this->mailer = 'mailgun';
|
||||
$this->setMailgunMailer();
|
||||
return;
|
||||
return $this;
|
||||
|
||||
default:
|
||||
break;
|
||||
@ -264,6 +264,8 @@ class NinjaMailerJob implements ShouldQueue
|
||||
if (Ninja::isSelfHost()) {
|
||||
$this->setSelfHostMultiMailer();
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -445,7 +445,8 @@ class Email implements ShouldQueue
|
||||
return $this;
|
||||
|
||||
default:
|
||||
break;
|
||||
$this->mailer = config('mail.default');
|
||||
return $this;
|
||||
}
|
||||
|
||||
if (Ninja::isSelfHost()) {
|
||||
|
Loading…
Reference in New Issue
Block a user