Menu

#16 Error for message with encoding binary

open
nobody
None
5
2002-05-02
2002-05-02
Ken Causey
No

It looks to be an error in the originator of the
message, but at least some sources are sending out
messages with a header of

Content-Disposition: inline
Content-Transfer-Encoding: binary
Content-Type: text/plain

for the message. mimetools barfs on the binary encoding.

This is all a symptom of a general problem which is
that BoboMail doesn't gracefully handle problematic
emails well. As a temporary solution I added 'binary'
to the list of message types in which
lib.Message.decode() simply returns the body unmolested.

Ken Causey

Discussion


Log in to post a comment.

MongoDB Logo MongoDB