fix
This commit is contained in:
parent
7e0992b767
commit
93009158a8
|
@ -2375,8 +2375,8 @@ def handle(envelope: Envelope, msg: Message) -> str:
|
||||||
[is_success for (is_success, smtp_status) in res if not is_success]
|
[is_success for (is_success, smtp_status) in res if not is_success]
|
||||||
)
|
)
|
||||||
|
|
||||||
if nb_success > 0 and nb_non_success:
|
if nb_success > 0 and nb_non_success > 0:
|
||||||
LOG.e(f"some deliveries fail and some success, {mail_from}, {rcpt_tos}")
|
LOG.e(f"some deliveries fail and some success, {mail_from}, {rcpt_tos}, {res}")
|
||||||
|
|
||||||
for (is_success, smtp_status) in res:
|
for (is_success, smtp_status) in res:
|
||||||
# Consider all deliveries successful if 1 delivery is successful
|
# Consider all deliveries successful if 1 delivery is successful
|
||||||
|
|
Loading…
Reference in a new issue