Skip to content
Snippets Groups Projects
Commit ac5abc56 authored by Lukas Reschke's avatar Lukas Reschke Committed by Michael Gapczynski
Browse files

Handling exceptions

parent e887fd7b
Branches
No related tags found
No related merge requests found
...@@ -36,7 +36,7 @@ class OC_Mail { ...@@ -36,7 +36,7 @@ class OC_Mail {
$SMTPPASSWORD = OC_Config::getValue( 'mail_smtppassword', '' ); $SMTPPASSWORD = OC_Config::getValue( 'mail_smtppassword', '' );
$mailo = new PHPMailer(); $mailo = new PHPMailer(true);
if($SMTPMODE=='sendmail') { if($SMTPMODE=='sendmail') {
$mailo->IsSendmail(); $mailo->IsSendmail();
}elseif($SMTPMODE=='smtp'){ }elseif($SMTPMODE=='smtp'){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment