// this normally will happen if you sent Pman_Core_NotifySend['host']
if (isset($ff->Mail['host']) && $ff->Mail['host'] == $mx && !empty($ff->Mail['auth'] )) {
// this normally will happen if you sent Pman_Core_NotifySend['host']
if (isset($ff->Mail['host']) && $ff->Mail['host'] == $mx && !empty($ff->Mail['auth'] )) {
foreach ($ff->Core_Notify['routes'] as $server => $settings){
if(!in_array($dom, $settings['domains'])){
continue;
}
$mailer->host = $server;
foreach ($ff->Core_Notify['routes'] as $server => $settings){
if(!in_array($dom, $settings['domains'])){
continue;
}
$mailer->host = $server;