From 0d652111ef3333414cdc294c300e8e923e1f938a Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 30 Nov 2015 14:49:53 +0800 Subject: [PATCH] NotifySend.php --- NotifySend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; } } -- 2.39.2