mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 01:14:48 -04:00
Add date header & message id
This commit is contained in:
parent
80be396464
commit
9ef05a12c3
2 changed files with 4 additions and 1 deletions
|
@ -152,6 +152,8 @@ class Mailer(object):
|
|||
multipart_msg['Subject'] = "New Matrix Notifications"
|
||||
multipart_msg['From'] = self.hs.config.email_notif_from
|
||||
multipart_msg['To'] = email_address
|
||||
multipart_msg['Date'] = email.utils.formatdate()
|
||||
multipart_msg['Message-ID'] = email.utils.make_msgid()
|
||||
multipart_msg.attach(text_part)
|
||||
multipart_msg.attach(html_part)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue