mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-09-29 08:24:18 +08:00
Bugfix: hide_x_mailer_header option was missing for ReadReceiptMessage
This commit is contained in:
parent
05f02c2197
commit
76c41d5156
1 changed files with 6 additions and 6 deletions
|
@ -986,8 +986,9 @@ trait Messages
|
|||
|
||||
$oMessage = new \MailSo\Mime\Message();
|
||||
|
||||
if (!$this->Config()->Get('security', 'hide_x_mailer_header', true))
|
||||
{
|
||||
if ($this->Config()->Get('security', 'hide_x_mailer_header', true)) {
|
||||
$oMessage->DoesNotAddDefaultXMailer();
|
||||
} else {
|
||||
$oMessage->SetXMailer('SnappyMail/'.APP_VERSION);
|
||||
}
|
||||
|
||||
|
@ -1034,11 +1035,10 @@ trait Messages
|
|||
{
|
||||
$oMessage = new \MailSo\Mime\Message();
|
||||
|
||||
if (!$this->Config()->Get('security', 'hide_x_mailer_header', true))
|
||||
{
|
||||
$oMessage->SetXMailer('SnappyMail/'.APP_VERSION);
|
||||
} else {
|
||||
if ($this->Config()->Get('security', 'hide_x_mailer_header', true)) {
|
||||
$oMessage->DoesNotAddDefaultXMailer();
|
||||
} else {
|
||||
$oMessage->SetXMailer('SnappyMail/'.APP_VERSION);
|
||||
}
|
||||
|
||||
$sFrom = $this->GetActionParam('From', '');
|
||||
|
|
Loading…
Add table
Reference in a new issue