summaryrefslogtreecommitdiffstats
path: root/lib/private/Mail
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-01-19 19:59:53 -0600
committerMorris Jobke <hey@morrisjobke.de>2017-01-19 19:59:53 -0600
commit12e3b357d43d3ee51dd63ea15ded5ec8b20b06ff (patch)
tree79b8ce23db74a4d80ae171dcfaa2e5ca1195613f /lib/private/Mail
parent48a3f2a8a2d6217c9938c3719fb752633de7c082 (diff)
downloadnextcloud-server-12e3b357d43d3ee51dd63ea15ded5ec8b20b06ff.tar.gz
nextcloud-server-12e3b357d43d3ee51dd63ea15ded5ec8b20b06ff.zip
Fix default of mail_smtpmode - fixes #3102
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private/Mail')
-rw-r--r--lib/private/Mail/Mailer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Mail/Mailer.php b/lib/private/Mail/Mailer.php
index df8fa80f2c2..e704e8e3490 100644
--- a/lib/private/Mail/Mailer.php
+++ b/lib/private/Mail/Mailer.php
@@ -200,7 +200,7 @@ class Mailer implements IMailer {
* @return \Swift_SendmailTransport
*/
protected function getSendMailInstance() {
- switch ($this->config->getSystemValue('mail_smtpmode', 'sendmail')) {
+ switch ($this->config->getSystemValue('mail_smtpmode', 'php')) {
case 'qmail':
$binaryPath = '/var/qmail/bin/sendmail';
break;