mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-25 18:35:06 +01:00
Fixed encoding of nested messages (2)
This commit is contained in:
@@ -912,6 +912,11 @@ public class IMAPMessage extends MimeMessage implements ReadableMime {
|
||||
return;
|
||||
}
|
||||
InputStream is = getMimeStream();
|
||||
if (this instanceof IMAPNestedMessage) {
|
||||
String encoding = getEncoding();
|
||||
if (encoding != null)
|
||||
is = MimeUtility.decode(is, encoding);
|
||||
}
|
||||
try {
|
||||
// write out the bytes
|
||||
byte[] bytes = new byte[16*1024];
|
||||
|
||||
Reference in New Issue
Block a user