mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-04 23:17:02 +03:00
More correct function smtp ehlo definitions.
This commit is contained in:
parent
e673405dbe
commit
0f7ebc084a
2 changed files with 27 additions and 1 deletions
|
|
@ -3732,7 +3732,7 @@ class Actions
|
|||
$sFrom = $oFrom instanceof \MailSo\Mime\Email ? $oFrom->GetEmail() : '';
|
||||
|
||||
$aSmtpCredentials = array(
|
||||
'Ehlo' => \function_exists('gethostname') ? \gethostname() : 'localhost',
|
||||
'Ehlo' => \MailSo\Smtp\SmtpClient::EhloHelper(),
|
||||
'Host' => $oAccount->Domain()->OutHost(),
|
||||
'Port' => $oAccount->Domain()->OutPort(),
|
||||
'Secure' => $oAccount->Domain()->OutSecure(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue