From fe15939f062bf716dbc6d68241dd525d0c550d7f Mon Sep 17 00:00:00 2001 From: jedi Date: Mon, 18 Nov 2024 00:48:44 +0100 Subject: [PATCH] stash --- core/mail/protocol.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/mail/protocol.py b/core/mail/protocol.py index 926e8c2..fb8918e 100644 --- a/core/mail/protocol.py +++ b/core/mail/protocol.py @@ -200,7 +200,10 @@ def receive_email(envelope, log=None): subject = "No subject" subject = unescape_and_decode_quoted_printable(subject) subject = unescape_and_decode_base64(subject) + log.info("search for {}".format(recipient)) + log.info("known {}".format(["{} -> {}".format(x.address, x.event.slug) for x in EventAddress.objects.all()])) target_event = find_target_event(recipient) + log.info("found {}".format(target_event)) active_issue_thread, new = find_active_issue_thread(header_in_reply_to, recipient, subject)