]> source.dussan.org Git - nextcloud-server.git/commitdiff
Handling exceptions
authorLukas Reschke <lukas@statuscode.ch>
Wed, 11 Jul 2012 19:52:51 +0000 (21:52 +0200)
committerMichael Gapczynski <mtgap@owncloud.com>
Wed, 11 Jul 2012 23:38:57 +0000 (19:38 -0400)
lib/mail.php

index e218531afb2a0c2ee5cdd6b70749dba55636ea7e..0becb182b23491c1ca78ae6a3373fc6d8386bc97 100644 (file)
@@ -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'){