projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5ffc76
)
NotifySend.php
author
Alan Knowles
<alan@roojs.com>
Mon, 19 Jan 2015 04:42:37 +0000
(12:42 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 19 Jan 2015 04:42:37 +0000
(12:42 +0800)
NotifySend.php
patch
|
blob
|
history
diff --git
a/NotifySend.php
b/NotifySend.php
index
9f5d227
..
cfd8eea
100644
(file)
--- a/
NotifySend.php
+++ b/
NotifySend.php
@@
-18,7
+18,11
@@
require_once 'Pman.php';
* recipients =>
* body =>
* )
- *
+ *
+ *
+ * Note uses configuration
+ *
+ * Core_NotifySend[host] = 'localhost' << to override direct sending..
*
*/
@@
-445,6
+449,11
@@
class Pman_Core_NotifySend extends Pman
}
function mxs($fqdn)
{
+ $ff = HTML_FlexyFramework::get();
+ if (isset($ff['Core_NotifySend']['host'])) {
+ return array($ff['Core_NotifySend']['host']);
+ }
+
$mx_records = array();
$mx_weight = array();
$mxs = array();