NotifySmtpCheck.php
authoredward <edward@roojs.com>
Thu, 14 Jul 2016 03:18:03 +0000 (11:18 +0800)
committeredward <edward@roojs.com>
Thu, 14 Jul 2016 03:18:03 +0000 (11:18 +0800)
NotifySmtpCheck.php

index a9318c4..b9608e6 100644 (file)
@@ -14,6 +14,17 @@ class Pman_Core_NotifySmtpCheck extends Pman
         ){
             return;
         }
+        
+        $error = array();
+        
+        foreach ($ff->Core_Notify['routes'] as $server => $settings){
+            if(empty($settings['username']) || empty($settings['password'])){
+                $error[] = "{$server} missing username or password";
+                continue;
+            }
+            
+            
+        }
     }
     
 }
\ No newline at end of file