Addition:
This work is fine, but some SPAM filters will use the Priority Configuration (it doesn't matter what priority is set) to filter in SPAM.
And php Mailer will set the priority flag ALWAYS. (Default 3)
So, in MY php Mailer, the i'd class comments on the line
$this->HeaderLine('X-Priority', $this->Priority);
Perhaps a solution like:
class.phpmailer.php
if($this->Priority > 0) $this->HeaderLine('X-Priority', $this->Priority);
And in your php script something like this:
$yourMessage->Priority = 0;
Makes it a bit customizable.
ChristianNRW
source share