mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-28 01:28:42 +08: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))
|
||||
{
|
||||
$oMessage->SetXMailer('RainLoop/'.APP_VERSION);
|
||||
} else {
|
||||
$oMessage->DoesNotAddDefaultXMailer();
|
||||
}
|
||||
|
||||
$oFromIdentity = $this->GetIdentityByID($oAccount, $sIdentityID);
|
||||
|
|
Loading…
Reference in a new issue