Skip to content

Commit

Permalink
Merge pull request the-djmaze#1878 from anton-piliugin/patch-1
Browse files Browse the repository at this point in the history
Fix hide_x_mailer_header config option behaviour
  • Loading branch information
RainLoop authored Jul 1, 2019
2 parents 8eb4588 + 6b8c704 commit 08da303
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rainloop/v/0.0.0/app/libraries/RainLoop/Actions.php
Original file line number Diff line number Diff line change
Expand Up @@ -5892,6 +5892,8 @@ private function buildMessage($oAccount, $bWithDraftInfo = true)
if (!$this->Config()->Get('security', 'hide_x_mailer_header', false))
{
$oMessage->SetXMailer('RainLoop/'.APP_VERSION);
} else {
$oMessage->DoesNotAddDefaultXMailer();
}

$oFromIdentity = $this->GetIdentityByID($oAccount, $sIdentityID);
Expand Down

0 comments on commit 08da303

Please sign in to comment.