aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgrum <grum@piwigo.org>2010-04-10 18:51:51 +0000
committergrum <grum@piwigo.org>2010-04-10 18:51:51 +0000
commit7c38deb01a8a09bfbfaba4e024f079fce2f77e59 (patch)
tree7c5e0b88f632944cf7910a7c267bcd9d52210f7f
parentc6fcdb5c2ecf8098e3990d44a53cc37811074e0d (diff)
bug 1595
git-svn-id: http://piwigo.org/svn/trunk@5773 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-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');