summaryrefslogtreecommitdiffstats
path: root/lib/mail.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2012-07-11 21:52:51 +0200
committerLukas Reschke <lukas@statuscode.ch>2012-07-11 21:52:51 +0200
commit8afcddf44fedc706108dc318c146a777ca2a4988 (patch)
treeff91c19e7cfb726369c85c684fc7a0b2070690d4 /lib/mail.php
parent66da0a215137ef03b31a6b5706007e503aa1ad0a (diff)
downloadnextcloud-server-8afcddf44fedc706108dc318c146a777ca2a4988.tar.gz
nextcloud-server-8afcddf44fedc706108dc318c146a777ca2a4988.zip
Handling exceptions
Diffstat (limited to 'lib/mail.php')
-rw-r--r--lib/mail.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mail.php b/lib/mail.php
index 9d2cd62494b..545b95da87d 100644
--- a/lib/mail.php
+++ b/lib/mail.php
@@ -36,7 +36,7 @@ class OC_Mail {
$SMTPPASSWORD = OC_Config::getValue( 'mail_smtppassword', '' );
- $mailo = new PHPMailer();
+ $mailo = new PHPMailer(true);
if($SMTPMODE=='sendmail') {
$mailo->IsSendmail();
}elseif($SMTPMODE=='smtp'){