Skip to content
Snippets Groups Projects
Commit 53ca739f authored by Matthew Hodgson's avatar Matthew Hodgson
Browse files

better mail subject lines

parent 81c2176c
No related branches found
No related tags found
No related merge requests found
......@@ -156,7 +156,7 @@ class Mailer(object):
text_part = MIMEText(plain_text, "plain", "utf8")
multipart_msg = MIMEMultipart('alternative')
multipart_msg['Subject'] = "New Matrix Notifications"
multipart_msg['Subject'] = "[%s] %s" % (self.app_name, summary_text)
multipart_msg['From'] = self.hs.config.email_notif_from
multipart_msg['To'] = email_address
multipart_msg['Date'] = email.utils.formatdate()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment