From: Alan Knowles Date: Mon, 30 Nov 2015 06:49:53 +0000 (+0800) Subject: NotifySend.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=0d652111ef3333414cdc294c300e8e923e1f938a NotifySend.php --- diff --git a/NotifySend.php b/NotifySend.php index df780801..6bd89956 100644 --- a/NotifySend.php +++ b/NotifySend.php @@ -402,7 +402,7 @@ class Pman_Core_NotifySend extends Pman $email['headers']['Subject'] = "(CC): " . $email['headers']['Subject']; $res = $cmailer->send($email['bcc'], $email['headers'], $email['body']); - if (!$res) { + if (!$res || is_a($res, 'PEAR_Error')) { echo "could not send bcc..\n"; } }