mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-07 08:27:03 +03: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();
|
$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);
|
$oMessage->SetXMailer('SnappyMail/'.APP_VERSION);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1034,11 +1035,10 @@ trait Messages
|
||||||
{
|
{
|
||||||
$oMessage = new \MailSo\Mime\Message();
|
$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->SetXMailer('SnappyMail/'.APP_VERSION);
|
|
||||||
} else {
|
|
||||||
$oMessage->DoesNotAddDefaultXMailer();
|
$oMessage->DoesNotAddDefaultXMailer();
|
||||||
|
} else {
|
||||||
|
$oMessage->SetXMailer('SnappyMail/'.APP_VERSION);
|
||||||
}
|
}
|
||||||
|
|
||||||
$sFrom = $this->GetActionParam('From', '');
|
$sFrom = $this->GetActionParam('From', '');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue