mirror of
https://github.com/simple-login/app.git
synced 2025-02-20 22:02:54 +08:00
fix
This commit is contained in:
parent
7e0992b767
commit
93009158a8
1 changed files with 2 additions and 2 deletions
|
@ -2375,8 +2375,8 @@ def handle(envelope: Envelope, msg: Message) -> str:
|
|||
[is_success for (is_success, smtp_status) in res if not is_success]
|
||||
)
|
||||
|
||||
if nb_success > 0 and nb_non_success:
|
||||
LOG.e(f"some deliveries fail and some success, {mail_from}, {rcpt_tos}")
|
||||
if nb_success > 0 and nb_non_success > 0:
|
||||
LOG.e(f"some deliveries fail and some success, {mail_from}, {rcpt_tos}, {res}")
|
||||
|
||||
for (is_success, smtp_status) in res:
|
||||
# Consider all deliveries successful if 1 delivery is successful
|
||||
|
|
Loading…
Reference in a new issue