NotifySend.php
authorAlan Knowles <alan@roojs.com>
Tue, 23 Sep 2014 06:50:24 +0000 (14:50 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 23 Sep 2014 06:50:24 +0000 (14:50 +0800)
NotifySend.php

index e0e48e5..e2fca54 100644 (file)
@@ -331,8 +331,8 @@ class Pman_Core_NotifySend extends Pman
                     'host'    => $dom ,
                     'localhost' => $ff->Mail['helo'],
                     'timeout' => 15,
-                    'socket_options' =>  isset($ff->Mail['socket_options']) ? $ff->Mail['socket_options'] : null
-                  //  'debug' => true
+                    'socket_options' =>  isset($ff->Mail['socket_options']) ? $ff->Mail['socket_options'] : null,
+                    'debug' => $opts['debug'],
                 ));
             $res = $mailer->send($p->email, $email['headers'], $email['body']);