mirror of
https://github.com/pretix/pretix.git
synced 2026-05-21 17:54:08 +00:00
Update src/pretix/base/services/mail.py
Co-authored-by: Martin Gross <gross@rami.io>
This commit is contained in:
@@ -965,7 +965,7 @@ def _retry_strategy(e: Exception):
|
|||||||
# intervals scatter such that the email won't all be retried at the same time again and cause the
|
# intervals scatter such that the email won't all be retried at the same time again and cause the
|
||||||
# same problem.
|
# same problem.
|
||||||
# See also https://docs.microsoft.com/en-us/exchange/troubleshoot/send-emails/smtp-submission-improvements
|
# See also https://docs.microsoft.com/en-us/exchange/troubleshoot/send-emails/smtp-submission-improvements
|
||||||
return "microsoft_concurrncy"
|
return "microsoft_concurrency"
|
||||||
|
|
||||||
if e.smtp_code in (101, 111, 421, 422, 431, 432, 442, 447, 452):
|
if e.smtp_code in (101, 111, 421, 422, 431, 432, 442, 447, 452):
|
||||||
return "quick"
|
return "quick"
|
||||||
|
|||||||
Reference in New Issue
Block a user