Below is relevant code from phpmailer 5.2.6 in ZenCart 1.54 class.phpmailer.php
Any recommends on the best way to keep X-Priority from being included in the sent email header?
ln 54
Code:
public $Priority = 3;
ln 1438-1446
Code:
$result .= $this->HeaderLine('X-Priority', $this->Priority);
if ($this->XMailer == '') {
$result .= $this->HeaderLine('X-Mailer', 'PHPMailer '.$this->Version.' (https://github.com/PHPMailer/PHPMailer/)');
} else {
$myXmailer = trim($this->XMailer);
if ($myXmailer) {
$result .= $this->HeaderLine('X-Mailer', $myXmailer);
}
}
Bookmarks