Report/SendEventErrors.php
authoredward <edward@roojs.com>
Fri, 5 Feb 2016 05:12:42 +0000 (13:12 +0800)
committeredward <edward@roojs.com>
Fri, 5 Feb 2016 05:12:42 +0000 (13:12 +0800)
Report/SendEventErrors.php

index 1c336ee..ecb95e9 100644 (file)
@@ -139,6 +139,14 @@ class Pman_Admin_Report_SendEventErrors extends Pman_Roo
         
         $errors = $events->fetchAll();
         
+        if(!empty($this->opts['helo'])){
+            HTML_FlexyFramework::get()->Mail['helo'] = $this->opts['helo'];
+        }
+        
+        if(!empty($this->opts['host'])){
+            HTML_FlexyFramework::get()->Mail['host'] = $this->opts['host'];
+        }
+        
         $content = array(
             'template'      => 'EVENT_ERRORS_REPORT',
             'rcpts'         => $rcpts,