fix email
This commit is contained in:
@@ -198,8 +198,8 @@ class Email extends Record
|
||||
}
|
||||
|
||||
if ($smtpParams) {
|
||||
if ($emailAddress) {
|
||||
$this->applySmtpHandler($this->getUser()->id, $emailAddress, $smtpParams);
|
||||
if ($fromAddress) {
|
||||
$this->applySmtpHandler($this->getUser()->id, $fromAddress, $smtpParams);
|
||||
}
|
||||
$emailSender->useSmtp($smtpParams);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user