projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
819a56e
)
NotifySmtpCheck.php
author
edward
<edward@roojs.com>
Thu, 14 Jul 2016 05:04:19 +0000
(13:04 +0800)
committer
edward
<edward@roojs.com>
Thu, 14 Jul 2016 05:04:19 +0000
(13:04 +0800)
NotifySmtpCheck.php
patch
|
blob
|
history
diff --git
a/NotifySmtpCheck.php
b/NotifySmtpCheck.php
index
a6c3130
..
d693ab8
100644
(file)
--- a/
NotifySmtpCheck.php
+++ b/
NotifySmtpCheck.php
@@
-77,8
+77,11
@@
class Pman_Core_NotifySmtpCheck extends Pman
$res = $smtp->auth($settings['username'], $settings['password']);
-// $smtpmx->_smtp->disconnect();
- print_r("resutlt : {$res} \n");
+ if (is_a($res, 'PEAR_Error')) {
+ die($res);
+ }
+
+ print_R("SUCCESS? {$res} \n");
exit;
// $mx = $smtpmx->_getMx($dom);