NotifySend.php
authorAlan Knowles <alan@roojs.com>
Mon, 30 Nov 2015 06:49:53 +0000 (14:49 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 30 Nov 2015 06:49:53 +0000 (14:49 +0800)
NotifySend.php

index df78080..6bd8995 100644 (file)
@@ -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";
                     }
                 }