Skip to content

Commit

Permalink
Add email date on debug of mail processing (#462)
Browse files Browse the repository at this point in the history
  • Loading branch information
AnaelMobilia authored Feb 19, 2024
1 parent 9e90658 commit 93278bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parsedmarc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1016,7 +1016,7 @@ def parse_report_email(input_, offline=False, ip_db_path=None,
smtp_tls_report = None
sample = None
if "From" in msg_headers:
logger.info("Parsing mail from {0}".format(msg_headers["From"]))
logger.info("Parsing mail from {0} on {1}".format(msg_headers["From"], date))
if "Subject" in msg_headers:
subject = msg_headers["Subject"]
for part in msg.walk():
Expand Down

0 comments on commit 93278bc

Please sign in to comment.