foreach($mxs as $dom) {
-
-
if (!isset($ff->Mail['helo'])) {
$this->errorHandler("config Mail[helo] is not set");
}
// if the host is the mail host + it's authenticated add auth details
// this normally will happen if you sent Pman_Core_NotifySend['host']
if (isset($ff->Mail['host']) && $ff->Mail['host'] == $dom && !empty($ff->Mail['auth'] )) {
+
+
+
$mailer->auth = true;
$mailer->username = $ff->Mail['username'] ;
$mailer->password = $ff->Mail['password'] ;