projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
efe502c
)
enable servers-no-pool to handle sending from non-pool servers
author
Alan
<alan@roojs.com>
Thu, 7 Sep 2023 06:14:54 +0000
(14:14 +0800)
committer
Alan
<alan@roojs.com>
Thu, 7 Sep 2023 06:14:54 +0000
(14:14 +0800)
NotifySend.php
patch
|
blob
|
history
diff --git
a/NotifySend.php
b/NotifySend.php
index
0404f6c
..
d0e8a4e
100644
(file)
--- a/
NotifySend.php
+++ b/
NotifySend.php
@@
-718,6
+718,14
@@
class Pman_Core_NotifySend extends Pman
function initHelo()
{
$ff = HTML_FlexyFramework::get();
function initHelo()
{
$ff = HTML_FlexyFramework::get();
+
+ if (isset($ff->Core_Notify['servers-no-pool']) &&
+ isset($ff->Core_Notify['servers-no-pool'][gethostname()]) &&
+ isset($ff->Core_Notify['servers-no-pool'][gethostname()]['helo']) ) {
+ $ff->Mail['helo'] = $ff->Core_Notify['servers-no-pool'][gethostname()]['helo'];
+ return;
+ }
+
if (empty($ff->Core_Notify['servers'])) {
return;
}
if (empty($ff->Core_Notify['servers'])) {
return;
}