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
87f86fc
..
6408019
100644
(file)
--- a/
NotifySmtpCheck.php
+++ b/
NotifySmtpCheck.php
@@
-41,7
+41,9
@@
class Pman_Core_NotifySmtpCheck extends Pman
'verify_peer_name' => false
)
);
-
+ if (empty($settings['port'])) {
+ $settings['port'] = 25;
+ }
$smtp = new Net_SMTP($server, $settings['port'], $helo, false, 0, $socket_options);
// $smtp->setDebug(true);