projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31db3fc
)
NotifySmtpCheck.php
author
edward
<edward@roojs.com>
Thu, 14 Jul 2016 05:53:33 +0000
(13:53 +0800)
committer
edward
<edward@roojs.com>
Thu, 14 Jul 2016 05:53:33 +0000
(13:53 +0800)
NotifySmtpCheck.php
patch
|
blob
|
history
diff --git
a/NotifySmtpCheck.php
b/NotifySmtpCheck.php
index
0722da3
..
fda61bb
100644
(file)
--- a/
NotifySmtpCheck.php
+++ b/
NotifySmtpCheck.php
@@
-19,7
+19,7
@@
class Pman_Core_NotifySmtpCheck extends Pman
$helo = $this->getHelo();
- $error = array(
'test'
);
+ $error = array();
foreach ($ff->Core_Notify['routes'] as $server => $settings){
if(empty($settings['domains']) || empty($settings['username']) || empty($settings['password'])){
@@
-36,6
+36,8
@@
class Pman_Core_NotifySmtpCheck extends Pman
$smtp = new Net_SMTP($server, $settings['port'], $helo, false, 0, $socket_options);
+// $smtp->setDebug(true);
+
$res = $smtp->connect(10);
if (is_a($res, 'PEAR_Error')) {