projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be7209f
)
NotifySmtpCheck.php
author
Alan Knowles
<alan@roojs.com>
Mon, 25 Jul 2016 04:38:08 +0000
(12:38 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 25 Jul 2016 04:38:08 +0000
(12:38 +0800)
NotifySmtpCheck.php
patch
|
blob
|
history
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);