From bc0a9d87a6b9d96caa285010de1dddf1635c8924 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Mon, 12 Nov 2018 11:02:21 +0100 Subject: [PATCH] set date field as requested in #334 --- inc/inc.ClassEmailNotify.php | 1 + 1 file changed, 1 insertion(+) diff --git a/inc/inc.ClassEmailNotify.php b/inc/inc.ClassEmailNotify.php index 0d7ec81f5..62f1ddfa7 100644 --- a/inc/inc.ClassEmailNotify.php +++ b/inc/inc.ClassEmailNotify.php @@ -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";