diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-10-12 13:44:26 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-10-12 13:44:26 +0200 |
commit | 0036c637fcafe121cd964f29ad998c9b1bfc31ec (patch) | |
tree | 4107ac655064088975b3713f8ddec3a84fbe5296 /lib/private | |
parent | 4b1f2eb37e45bfcaa02900d1e7de15e775461272 (diff) | |
parent | 18394205c2149ee944871eb684bd0f8e4dbe262c (diff) | |
download | nextcloud-server-0036c637fcafe121cd964f29ad998c9b1bfc31ec.tar.gz nextcloud-server-0036c637fcafe121cd964f29ad998c9b1bfc31ec.zip |
Merge pull request #19657 from owncloud/setup-transport
Setup sendmail transport
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/mail/mailer.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/private/mail/mailer.php b/lib/private/mail/mailer.php index d083b992326..bd93f3e3d58 100644 --- a/lib/private/mail/mailer.php +++ b/lib/private/mail/mailer.php @@ -157,7 +157,10 @@ class Mailer implements IMailer { $this->instance = $this->getSMTPInstance(); break; case 'sendmail': - $this->instance = $this->getSendMailInstance(); + // FIXME: Move into the return statement but requires proper testing + // for SMTP and mail as well. Thus not really doable for a + // minor release. + $this->instance = \Swift_Mailer::newInstance($this->getSendMailInstance()); break; default: $this->instance = $this->getMailInstance(); |