mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-25 13:49:22 -05:00
3rd time lucky: we'd already calculated it above
This commit is contained in:
parent
fbf608decb
commit
72c4d482e9
@ -186,9 +186,7 @@ class Mailer(object):
|
||||
|
||||
multipart_msg = MIMEMultipart('alternative')
|
||||
multipart_msg['Subject'] = "[%s] %s" % (self.app_name, summary_text)
|
||||
multipart_msg['From'] = self.hs.config.email_notif_from % {
|
||||
"app": self.app_name
|
||||
}
|
||||
multipart_msg['From'] = from_string
|
||||
multipart_msg['To'] = email_address
|
||||
multipart_msg['Date'] = email.utils.formatdate()
|
||||
multipart_msg['Message-ID'] = email.utils.make_msgid()
|
||||
|
Loading…
Reference in New Issue
Block a user