django-mailbox
django-mailbox copied to clipboard
Message fails to save eml, body, text when encoded with non base64 email
I am working on an app the uses django mailbox to poll an email and read in the messages to process them. I noticed that if the email is not base64 (Message.encoded = False) the message contents appear to be empty for eml, text, html, body and the Message.get_email_object() is also empty. Is there anyway to fix this? My polling / processing algorithm fails because of this because the software is based around the exact received timestamp that I get using the email object.
django mailbox version: 4.7.1
Sort of curious why the messages weren't encoded; iirc, encoding has been the default behavior for a really long time.
@coddingtonbear any suggestions on what I can do to debug this? Or provide you more information to help determine why this is happening?
One thing I noticed is that all the emails appear to be from microsoft email servers.
This issue is actually caused by the same Python bug as #136. The patch added to that issue now manifests as an unparsed email, which is probably not ideal, as the email is fine...