mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-24 08:09:25 -05:00
Oops, we're using the dict form
This commit is contained in:
parent
06d40c8b98
commit
fbf608decb
@ -186,7 +186,9 @@ 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 % (self.app_name, )
|
||||
multipart_msg['From'] = self.hs.config.email_notif_from % {
|
||||
"app": self.app_name
|
||||
}
|
||||
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