Pman.Dialog.Image.bjs
[Pman.Core] / NotifySend.php
index a5dc71a..300cc5d 100644 (file)
@@ -206,9 +206,6 @@ class Pman_Core_NotifySend extends Pman
         }
         
         
-        
-        
-        
         if (isset($email['later'])) {
             $old = clone($w);
             $w->act_when = $email['later'];
@@ -237,7 +234,6 @@ class Pman_Core_NotifySend extends Pman
         $p->email = trim($p->email);
         
         
-        //print_r($p);
         require_once 'Validate.php';
         if (!Validate::email($p->email, true)) {
             $ev = $this->addEvent('NOTIFY', $w, "INVALID ADDRESS: " . $p->email);
@@ -335,6 +331,7 @@ 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
                 ));
             $res = $mailer->send($p->email, $email['headers'], $email['body']);