mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-09-20 07:35:55 +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
|
@ -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