summaryrefslogtreecommitdiff
path: root/program/steps/mail/sendmail.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-06-13 10:15:25 +0000
committeralecpl <alec@alec.pl>2010-06-13 10:15:25 +0000
commit2bf3cc6fc3a1255a878778f05e1b0d745c5059c6 (patch)
tree7009a5c838d1f9812b2a6e89300cc79b176ca126 /program/steps/mail/sendmail.inc
parent0133e6b7aa4360f4edc1aef0e4e7bd4749273f3e (diff)
- Use user's timezone in Date header, not server's timezone (#1486119)
Diffstat (limited to 'program/steps/mail/sendmail.inc')
-rw-r--r--program/steps/mail/sendmail.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/sendmail.inc b/program/steps/mail/sendmail.inc
index f94950e87..e229234c1 100644
--- a/program/steps/mail/sendmail.inc
+++ b/program/steps/mail/sendmail.inc
@@ -287,7 +287,7 @@ if ($CONFIG['http_received_header'])
$headers['Received'] = $http_header;
}
-$headers['Date'] = date('r');
+$headers['Date'] = rcmail_user_date();
$headers['From'] = rcube_charset_convert($identity_arr['string'], RCMAIL_CHARSET, $message_charset);
$headers['To'] = $mailto;