Closed manusa closed 5 years ago
Most probably is a false positive from a malformed messages, IMAPMessage#getSubject
already decodes the subject.
Thunderbird shows message fine and "re-decoding" the message through MimeUtility#decodeWord
also helps showing the message fine, although it seems overkill.
Some encoding problems have been detected in message subjects
Wrong encoded literals are shown instead of real subject
=?UTF-8?Q?...
Subjects can be RFC 2047 / RFC 2231 "encoded-words", should be decoded using
MimeUtility#decodeWord
.