projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e04ff1
)
NotifySmtpCheck.php
author
edward
<edward@roojs.com>
Thu, 14 Jul 2016 03:18:03 +0000
(11:18 +0800)
committer
edward
<edward@roojs.com>
Thu, 14 Jul 2016 03:18:03 +0000
(11:18 +0800)
NotifySmtpCheck.php
patch
|
blob
|
history
diff --git
a/NotifySmtpCheck.php
b/NotifySmtpCheck.php
index
a9318c4
..
b9608e6
100644
(file)
--- a/
NotifySmtpCheck.php
+++ b/
NotifySmtpCheck.php
@@
-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