Skip to content

Commit

Permalink
When restoring the email use SMTP_DOMAIN when sending EHLO
Browse files Browse the repository at this point in the history
Signed-off-by: Janos SUTO <sj@acts.hu>
  • Loading branch information
jsuto committed Jul 22, 2023
1 parent ef9c0f0 commit f9b06f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webui/model/mail/mail.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function send_smtp_email($smtphost, $smtpport, $yourdomain, $from, $to =
}

$connection->connect();
$connection->helo($smtphost);
$connection->helo(SMTP_DOMAIN);

} catch (Exception $e) {
$connection->__destruct();
Expand Down

0 comments on commit f9b06f3

Please sign in to comment.