You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
email_message = email.message_from_bytes(message_data[b"RFC822"])
~~~~~~~~~~~~^^^^^^^^^^^
KeyError: b'RFC822'
I cannot reproduce it with the same mails.
The text was updated successfully, but these errors were encountered:
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
email_message = email.message_from_bytes(message_data[b"RFC822"])
~~~~~~~~~~~~^^^^^^^^^^^
KeyError: b'RFC822'
I cannot reproduce it with the same mails.
The text was updated successfully, but these errors were encountered: