From c5987bcfbb3b10c06e7100060232ebb02fd24034 Mon Sep 17 00:00:00 2001 From: Son Date: Tue, 19 Oct 2021 12:05:41 +0200 Subject: [PATCH] Log message_id --- email_handler.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/email_handler.py b/email_handler.py index b49faf0d..a61eb81e 100644 --- a/email_handler.py +++ b/email_handler.py @@ -1835,13 +1835,14 @@ def handle(envelope: Envelope) -> str: LOG.d( "==>> Handle mail_from:%s, rcpt_tos:%s, header_from:%s, header_to:%s, " - "cc:%s, reply-to:%s, mail_options:%s, rcpt_options:%s", + "cc:%s, reply-to:%s, message_id:%s, mail_options:%s, rcpt_options:%s", mail_from, rcpt_tos, msg[headers.FROM], msg[headers.TO], msg[headers.CC], msg[headers.REPLY_TO], + msg[headers.MESSAGE_ID], envelope.mail_options, envelope.rcpt_options, )