When restoring the email use SMTP_DOMAIN when sending EHLO

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO 2023-07-22 13:27:29 +02:00
parent ef9c0f0a91
commit f9b06f359b

View File

@ -63,7 +63,7 @@ class ModelMailMail extends Model {
}
$connection->connect();
$connection->helo($smtphost);
$connection->helo(SMTP_DOMAIN);
} catch (Exception $e) {
$connection->__destruct();