Handling exceptions

This commit is contained in:
Lukas Reschke 2012-07-11 21:52:51 +02:00
parent 66da0a2151
commit 8afcddf44f

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