Changeset View
Changeset View
Standalone View
Standalone View
externals/phpmailer/class.phpmailer.php
| Show First 20 Lines • Show All 1,104 Lines • ▼ Show 20 Lines | public function CreateHeader() { | ||||
| // mail() sets the subject itself | // mail() sets the subject itself | ||||
| if($this->Mailer != 'mail') { | if($this->Mailer != 'mail') { | ||||
| $result .= $this->HeaderLine('Subject', $this->EncodeHeader($this->SecureHeader($this->Subject))); | $result .= $this->HeaderLine('Subject', $this->EncodeHeader($this->SecureHeader($this->Subject))); | ||||
| } | } | ||||
| if($this->MessageID != '') { | if($this->MessageID != '') { | ||||
| $result .= $this->HeaderLine('Message-ID',$this->MessageID); | $result .= $this->HeaderLine('Message-ID',$this->MessageID); | ||||
| } else { | |||||
| $result .= sprintf("Message-ID: <%s@%s>%s", $uniq_id, $this->ServerHostname(), $this->LE); | |||||
| } | } | ||||
| $result .= $this->HeaderLine('X-Priority', $this->Priority); | $result .= $this->HeaderLine('X-Priority', $this->Priority); | ||||
| $result .= $this->HeaderLine('X-Mailer', 'PHPMailer '.$this->Version.' (phpmailer.sourceforge.net)'); | $result .= $this->HeaderLine('X-Mailer', 'PHPMailer '.$this->Version.' (phpmailer.sourceforge.net)'); | ||||
| if($this->ConfirmReadingTo != '') { | if($this->ConfirmReadingTo != '') { | ||||
| $result .= $this->HeaderLine('Disposition-Notification-To', '<' . trim($this->ConfirmReadingTo) . '>'); | $result .= $this->HeaderLine('Disposition-Notification-To', '<' . trim($this->ConfirmReadingTo) . '>'); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 1,200 Lines • Show Last 20 Lines | |||||