This commit is contained in:
Dmitry Khomutov 2016-08-25 22:28:13 +07:00
parent 4b7ca0b5f9
commit 67e2496c1c
2 changed files with 2 additions and 3 deletions

3
.gitignore vendored
View file

@ -1,7 +1,6 @@
/vendor
/composer.phar
/runtime/builds
/runtime/daemon
/runtime
/app/loggerconfig.php
/app/pluginconfig.php
/app/config.yml

View file

@ -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);