projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
NotifySmtpCheck.php
[Pman.Core]
/
NotifySmtpCheck.php
diff --git
a/NotifySmtpCheck.php
b/NotifySmtpCheck.php
index
827dda3
..
94c73ca
100644
(file)
--- a/
NotifySmtpCheck.php
+++ b/
NotifySmtpCheck.php
@@
-56,15
+56,17
@@
class Pman_Core_NotifySmtpCheck extends Pman
$smtp = new Net_SMTP($server, 25, $dom);
$smtp->setDebug(true);
$smtp = new Net_SMTP($server, 25, $dom);
$smtp->setDebug(true);
- print_R($smtp);
+
//
print_R($smtp);
// print_R($smtpmx->_smtp);exit;
// print_R($smtpmx->_smtp);exit;
- $res = $smtp
mx->_smtp
->connect($smtpmx->timeout);
+ $res = $smtp->connect($smtpmx->timeout);
if (is_a($res, 'PEAR_Error')) {
print_R('error?????');exit;
}
if (is_a($res, 'PEAR_Error')) {
print_R('error?????');exit;
}
+
+ $smtp->auth($settings['username'], $settings['password']);
// $smtpmx->_smtp->disconnect();
print_r("resutlt : {$res} \n");
// $smtpmx->_smtp->disconnect();
print_r("resutlt : {$res} \n");