Skip to content
Snippets Groups Projects
Commit 1c9feadf authored by Andrew Morgan's avatar Andrew Morgan Committed by Richard van der Hoff
Browse files

Generalize email sending logging (#6075)

In ancient times Synapse would only send emails when it was notifying a user about a message they received...

Now it can do all sorts of neat things!

Change the logging so it's not just about notifications.
parent 885a4726
No related branches found
No related tags found
No related merge requests found
Change mailer logging to reflect Synapse doesn't just do chat notifications by email now.
\ No newline at end of file
...@@ -311,7 +311,7 @@ class Mailer(object): ...@@ -311,7 +311,7 @@ class Mailer(object):
multipart_msg.attach(text_part) multipart_msg.attach(text_part)
multipart_msg.attach(html_part) multipart_msg.attach(html_part)
logger.info("Sending email notification to %s" % email_address) logger.info("Sending email to %s" % email_address)
yield make_deferred_yieldable( yield make_deferred_yieldable(
self.sendmail( self.sendmail(
......
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