mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-09-20 07:35:55 +08:00
Merge pull request #1878 from anton-piliugin/patch-1
Fix hide_x_mailer_header config option behaviour
This commit is contained in:
commit
08da3030b0
|
@ -5892,6 +5892,8 @@ NewThemeLink IncludeCss LoadingDescriptionEsc TemplatesLink LangLink IncludeBack
|
||||||
if (!$this->Config()->Get('security', 'hide_x_mailer_header', false))
|
if (!$this->Config()->Get('security', 'hide_x_mailer_header', false))
|
||||||
{
|
{
|
||||||
$oMessage->SetXMailer('RainLoop/'.APP_VERSION);
|
$oMessage->SetXMailer('RainLoop/'.APP_VERSION);
|
||||||
|
} else {
|
||||||
|
$oMessage->DoesNotAddDefaultXMailer();
|
||||||
}
|
}
|
||||||
|
|
||||||
$oFromIdentity = $this->GetIdentityByID($oAccount, $sIdentityID);
|
$oFromIdentity = $this->GetIdentityByID($oAccount, $sIdentityID);
|
||||||
|
|
Loading…
Reference in a new issue