Update src/pretix/base/services/mail.py

Co-authored-by: Martin Gross <gross@rami.io>
This commit is contained in:
Raphael Michel
2026-01-29 09:21:34 +01:00
committed by GitHub
parent 3dc8ab1a64
commit c88ecea26a

View File

@@ -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"