Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #834 from matrix-org/dbkr/fix_email_from
Browse files Browse the repository at this point in the history
Fix email notif From
  • Loading branch information
dbkr committed Jun 3, 2016
2 parents 5f88549 + 72c4d48 commit 81d2268
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/push/mailer.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def _fetch_room_state(room_id):

multipart_msg = MIMEMultipart('alternative')
multipart_msg['Subject'] = "[%s] %s" % (self.app_name, summary_text)
multipart_msg['From'] = self.hs.config.email_notif_from
multipart_msg['From'] = from_string
multipart_msg['To'] = email_address
multipart_msg['Date'] = email.utils.formatdate()
multipart_msg['Message-ID'] = email.utils.make_msgid()
Expand Down

0 comments on commit 81d2268

Please sign in to comment.