fix imap smtp handlers
This commit is contained in:
@@ -273,7 +273,7 @@ class Email extends Record
|
||||
$GLOBALS['log']->error("Send Email: Could not create Smtp Handler for {$emailAddress}. Error: " . $e->getMessage());
|
||||
}
|
||||
if (method_exists($handler, 'applyParams')) {
|
||||
$handler->applyParams($userId, $params);
|
||||
$handler->applyParams($userId, $emailAddress, $params);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -131,7 +131,7 @@ class EmailAccount extends Record
|
||||
$GLOBALS['log']->error("EmailAccount: Could not create Imap Handler for {$emailAddress}. Error: " . $e->getMessage());
|
||||
}
|
||||
if (method_exists($handler, 'prepareProtocol')) {
|
||||
$imapParams = $handler->prepareProtocol($userId, $params);
|
||||
$imapParams = $handler->prepareProtocol($userId, $emailAddress, $params);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user