set date field as requested in #334

This commit is contained in:
Uwe Steinmann 2018-11-12 11:02:21 +01:00
parent 91d35cdd59
commit bc0a9d87a6

View File

@ -117,6 +117,7 @@ class SeedDMS_EmailNotify extends SeedDMS_Notify {
$preferences = array("input-charset" => "UTF-8", "output-charset" => "UTF-8");
$encoded_subject = iconv_mime_encode("Subject", getMLText($subject, $params, "", $lang), $preferences);
$headers['Subject'] = substr($encoded_subject, strlen('Subject: '));
$headers['Date'] = date('r', time());
$headers['MIME-Version'] = "1.0";
$headers['Content-type'] = "text/plain; charset=utf-8";