Skip to content

Commit

Permalink
Merge pull request PHPMailer#227 from SDKiller/master
Browse files Browse the repository at this point in the history
Update class.phpmailer.php
  • Loading branch information
Synchro committed May 2, 2014
2 parents f7ca20f + ad42b57 commit c7bec0c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions class.phpmailer.php
Original file line number Diff line number Diff line change
Expand Up @@ -1636,10 +1636,10 @@ public function createHeader()
$this->boundary[3] = 'b3_' . $uniq_id;

if ($this->MessageDate == '') {
$result .= $this->headerLine('Date', self::rfcDate());
} else {
$result .= $this->headerLine('Date', $this->MessageDate);
$this->MessageDate = self::rfcDate();
}
$result .= $this->headerLine('Date', $this->MessageDate);


// To be created automatically by mail()
if ($this->SingleTo === true) {
Expand Down

0 comments on commit c7bec0c

Please sign in to comment.