From 0d3be4866f5e8a5e957d60cadca345a86e7c0bf4 Mon Sep 17 00:00:00 2001 From: Ade Date: Sat, 14 Apr 2018 13:59:18 +1200 Subject: [PATCH] Email date Fixes #2703 --- headphones/notifiers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/headphones/notifiers.py b/headphones/notifiers.py index 26cdb234..ae557a4d 100644 --- a/headphones/notifiers.py +++ b/headphones/notifiers.py @@ -941,6 +941,7 @@ class Email(object): message['From'] = email.utils.formataddr( ('Headphones', headphones.CONFIG.EMAIL_FROM)) message['To'] = headphones.CONFIG.EMAIL_TO + message['Date'] = email.utils.formatdate(localtime=True) try: if headphones.CONFIG.EMAIL_SSL: