From: Alan Knowles Date: Mon, 30 Nov 2015 06:51:50 +0000 (+0800) Subject: NotifySend.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=93fd8559e732fbf4be63994dde5912e582b360df NotifySend.php --- diff --git a/NotifySend.php b/NotifySend.php index 1d77c636..7dec78ae 100644 --- a/NotifySend.php +++ b/NotifySend.php @@ -384,10 +384,7 @@ class Pman_Core_NotifySend extends Pman // enable cc in notify.. if (!empty($email['headers']['Cc'])) { - $cmailer = Mail::factory('smtp', array( - //'host' => $dom , - // 'debug' => true - )); + $cmailer = Mail::factory('smtp', isset($ff->Mail) ? $ff->Mail : array() ); $email['headers']['Subject'] = "(CC): " . $email['headers']['Subject']; $cmailer->send($email['headers']['Cc'], $email['headers'], $email['body']);