mirror of
https://github.com/simple-login/app.git
synced 2025-02-21 22:32:56 +08:00
save the mailbox that a bounce affects
This commit is contained in:
parent
0f09ef681c
commit
0d117126db
1 changed files with 1 additions and 0 deletions
|
@ -728,6 +728,7 @@ def handle_bounce(contact: Contact, alias: Alias, msg: Message, user: User):
|
|||
db.session.flush()
|
||||
|
||||
email_log.refused_email_id = refused_email.id
|
||||
email_log.bounced_mailbox_id = mailbox.id
|
||||
db.session.commit()
|
||||
|
||||
LOG.d("Create refused email %s", refused_email)
|
||||
|
|
Loading…
Reference in a new issue