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.
This commit is contained in:
Andrew Morgan authored and Richard van der Hoff committed 2019-09-23 14:38:19 +01:00
1 parent 885a4726b7
commit 1c9feadf4b
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -0,0 +1 @@
Change mailer logging to reflect Synapse doesn't just do chat notifications by email now.
+1 -1
View File
@@ -311,7 +311,7 @@ class Mailer(object):
multipart_msg.attach(text_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(
self.sendmail(