let the cannon jsut log an error, not throw it - seems uncatchable
This commit is contained in:
parent
9362ebeaaf
commit
627134c651
@ -40,7 +40,9 @@ class mailcannon {
|
||||
$recipients = array( 'To' => $to);
|
||||
$succ = $mail->send($recipients, $hdrs, $body);
|
||||
if (PEAR::isError($succ)) {
|
||||
throw new \SYSTEM\LOG\ERROR($succ);}
|
||||
new \SYSTEM\LOG\ERROR($succ);
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user