NotifySmtpCheck.php
authorAlan Knowles <alan@roojs.com>
Fri, 4 Aug 2017 02:30:20 +0000 (10:30 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 4 Aug 2017 02:30:20 +0000 (10:30 +0800)
NotifySmtpCheck.php

index 47b2a7c..7a2670a 100644 (file)
@@ -1,11 +1,16 @@
 <?php
 
 require_once 'Pman.php';
-require_once "Mail.php";
-require_once 'Mail/smtpmx.php';
+
         
 class Pman_Core_NotifySmtpCheck extends Pman
 {
+    function __construct()
+    {
+        require_once "Mail.php";
+        require_once 'Mail/smtpmx.php';
+    }
+    
     function get($v, $opts=array())
     {
         $this->check();