Handling exceptions

This commit is contained in:
Lukas Reschke 2012-07-11 21:52:51 +02:00 committed by Michael Gapczynski
parent e887fd7ba8
commit ac5abc5603
1 changed files with 1 additions and 1 deletions

View 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'){