mirror of https://github.com/zulip/zulip.git
e4ff372fc3
Django's default SMTP implementation can raise various exceptions when trying to send an email. In order to allow Zulip calling code to catch fewer exceptions to handle any cause of "email not sent", we translate most of them into EmailNotDeliveredException. The non-translated exceptions concern the connection with the SMTP server. They were not merged with the rest to keep some details about the nature of these. Tests are implemented in the test_send_email.py module. |
||
---|---|---|
.. | ||
__init__.py | ||
queue_processors.py |