Handling exceptions
This commit is contained in:
parent
e887fd7ba8
commit
ac5abc5603
|
@ -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'){
|
||||||
|
|
Loading…
Reference in New Issue