imapclient
imapclient copied to clipboard
KeyError: b'RFC822'
This code threw an unexpected exception: messages = fetchServer.search("UNSEEN") for uid, message_data in fetchServer.fetch(messages, "RFC822").items(): email_message = email.message_from_bytes(message_data[b"RFC822"]) ->
Traceback (most recent call last):
File "/work2/imap-notify/./imap-notify.py", line 68, in
I cannot reproduce it with the same mails.
This is likely the same as #334