Fixes
This commit is contained in:
parent
4b7ca0b5f9
commit
67e2496c1c
2 changed files with 2 additions and 3 deletions
|
|
@ -58,7 +58,7 @@ class MailerFactory
|
|||
$transport->setUsername($this->getMailConfig('smtp_username'));
|
||||
$transport->setPassword($this->getMailConfig('smtp_password'));
|
||||
} else {
|
||||
$transport = \Swift_MailTransport::newInstance();
|
||||
$transport = \Swift_MailTransport::newInstance(null);
|
||||
}
|
||||
|
||||
return \Swift_Mailer::newInstance($transport);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue