Python project
邮件已收到,我会尽快处理。
Regarding the proposed context manager for smtplib, should we also implement a backoff strategy for the SMTPDataError exceptions to handle transient server-side rate limiting?
checks the 4xx status code prefix so we don't retry permanent 5xx failures.
If we map SMTPServerDisconnected to the shared retry handler, we'll need to make sure the context
To avoid infinite loops on transient network issues, should the backoff logic implement an exponential delay factor alongside the max_retries parameter?
If we implement exponential backoff as suggested, should we use a jittered approach to prevent thundering herd issues when handling SMTPServerDisconnected?