Skip to content

Commit 7e6a046

Browse files
da2xSam Tuke
authored andcommitted
Disable the X-Mailer header (#417)
It’s adding no value and yields a negative spam score.
1 parent 0598fe5 commit 7e6a046

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

public_html/lists/admin/class.phplistmailer.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
class PHPlistMailer extends PHPMailer
1414
{
15+
public $XMailer = ' '; // disables `X-Mailer' header
1516
public $WordWrap = 75;
1617
public $encoding = 'base64';
1718
public $messageid = 0;

0 commit comments

Comments
 (0)