diff --git a/synapse/push/mailer.py b/synapse/push/mailer.py index 4fd89b3e9070..0ab5168e2032 100644 --- a/synapse/push/mailer.py +++ b/synapse/push/mailer.py @@ -154,7 +154,6 @@ def _fetch_room_state(room_id): multipart_msg.attach(text_part) multipart_msg.attach(html_part) - yield sendmail( self.hs.config.email_smtp_host, raw_from, raw_to, multipart_msg.as_string(),