Mailer handles precedence header

This commit is contained in:
moodler
2004-05-07 03:25:04 +00:00
parent 06c66f4576
commit a9688f538f
+10
View File
@@ -79,6 +79,12 @@ class PHPMailer
*/
var $Subject = "";
/**
* Sets the Precedence level of this email. "bulk" will prevent some bounces
* @var string
*/
var $Precedence = "";
/**
* Sets the Body of the message. This can be either an HTML or text body.
* If HTML then run IsHTML(true).
@@ -809,6 +815,10 @@ class PHPMailer
$result .= $this->HeaderLine("X-Priority", $this->Priority);
$result .= $this->HeaderLine("X-Mailer", "PHPMailer [version " . $this->Version . "]");
if ($this->Precedence != "") {
$result .= $this->HeaderLine("Precedence", $this->Precedence);
}
if($this->ConfirmReadingTo != "")
{
$result .= $this->HeaderLine("Disposition-Notification-To",