mirror of
https://github.com/domainaware/parsedmarc.git
synced 2026-07-10 02:35:09 +00:00
Fix email retrevial
This commit is contained in:
+1
-1
@@ -1047,7 +1047,7 @@ def get_dmarc_reports_from_inbox(host, user, password,
|
||||
messages = server.search()
|
||||
for message_uid in messages:
|
||||
raw_msg = server.fetch(message_uid,
|
||||
["RFC822"])[message_uid]["RFC822"]
|
||||
["RFC822"])[message_uid][b"RFC822"]
|
||||
msg_content = raw_msg.decode("utf-8", errors="replace")
|
||||
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user