From 0e52b30e5b6f4def6bda86be85d3fe5079ac5419 Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Mon, 15 Oct 2018 18:46:45 +0000 Subject: [PATCH] Added the message-id to log lines for sent messages - Legacy-Id: 15582 --- ietf/utils/mail.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ietf/utils/mail.py b/ietf/utils/mail.py index 83f5cb07f..841ea4432 100644 --- a/ietf/utils/mail.py +++ b/ietf/utils/mail.py @@ -128,7 +128,7 @@ def send_smtp(msg, bcc=None): server.quit() except smtplib.SMTPServerDisconnected: pass - log("sent email from '%s' to %s subject '%s'" % (frm, to, msg.get('Subject', '[no subject]'))) + log("sent email from '%s' to %s id %s subject '%s'" % (frm, to, msg.get('Message-ID', ''), msg.get('Subject', '[no subject]'))) def copy_email(msg, to, toUser=False, originalBcc=None): '''