mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 12:36:02 -04:00
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:
parent
885a4726b7
commit
1c9feadf4b
2 changed files with 2 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue