projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1754750
)
fix port setting
author
Alan Knowles
<alan@roojs.com>
Thu, 18 Mar 2021 06:15:43 +0000
(14:15 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 18 Mar 2021 06:15:43 +0000
(14:15 +0800)
NotifySend.php
patch
|
blob
|
history
diff --git
a/NotifySend.php
b/NotifySend.php
index
f8076b8
..
fa0c575
100644
(file)
--- a/
NotifySend.php
+++ b/
NotifySend.php
@@
-430,10
+430,13
@@
class Pman_Core_NotifySend extends Pman
$mailer->host = $server;
$mailer->auth = true;
$mailer->username = $settings['username'];;
- $mailer->password = $settings['password'];
+ $mailer->password = $settings['password'];
+ if (isset($settings['port'])) {
+ $mailer->port = $settings['port'];
+ }
if (isset($settings['socket_options'])) {
$mailer->socket_options = $settings['socket_options'];
- $mailer->port = $settings['port'];
+
}