aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/class_smtp_mail.inc.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/class_smtp_mail.inc.php b/include/class_smtp_mail.inc.php
index 2e971caa1..652e70b21 100644
--- a/include/class_smtp_mail.inc.php
+++ b/include/class_smtp_mail.inc.php
@@ -164,6 +164,7 @@ class smtp_mail
$this->server_write('DATA'."\r\n");
$this->server_parse('354');
+ $this->server_write('Date: '.date('D, j M Y H:i:s O')."\r\n");
$this->server_write('Subject:'.$subject."\r\n".(empty($to_header) ? "" : $to_header."\r\n").$headers."\r\n\r\n".$message."\r\n");
$this->server_write('.'."\r\n");
$this->server_parse('250');