Report/SendEventErrors.php
authorAlan Knowles <alan@roojs.com>
Mon, 15 Feb 2016 01:47:48 +0000 (09:47 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 15 Feb 2016 01:47:48 +0000 (09:47 +0800)
Report/SendEventErrors.php

index 4ea888e..827558d 100644 (file)
@@ -139,6 +139,12 @@ class Pman_Admin_Report_SendEventErrors extends Pman_Roo
         
         $errors = $events->fetchAll();
         
+        if(!empty($this->opts['host'])){
+            HTML_FlexyFramework::get()->Mail = array(
+                                        'host' = $this->opts['host']
+                                    );
+        }
+        
         if(!empty($this->opts['helo'])){
             HTML_FlexyFramework::get()->Mail['helo'] = $this->opts['helo'];
         }