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

index 2caf5fa..1d77c63 100644 (file)
@@ -395,10 +395,7 @@ class Pman_Core_NotifySend extends Pman
                 }
                 
                 if (!empty($email['bcc'])) {
-                    $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'];
                     $res = $cmailer->send($email['bcc'],
                                   $email['headers'], $email['body']);