mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Fix hide_x_mailer_header config option behaviour
Remove X-Mailer header if hide_x_mailer_header = Off
This commit is contained in:
parent
88439e6e07
commit
6b8c7043af
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue