From 272c5628bb92b1de5409fa7b1163387ee84a0c69 Mon Sep 17 00:00:00 2001 From: Son NK <> Date: Tue, 24 Nov 2020 17:02:09 +0100 Subject: [PATCH] fix --- email_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/email_handler.py b/email_handler.py index 7c712f91..741e7ec3 100644 --- a/email_handler.py +++ b/email_handler.py @@ -615,7 +615,7 @@ def forward_email_to_mailbox( return False, "421 SL E14" email_log = EmailLog.create( - contact_id=contact.id, user_id=user.id, mailbox=mailbox.id, commit=True + contact_id=contact.id, user_id=user.id, mailbox_id=mailbox.id, commit=True ) # Spam check