Decode raw messages

pull/194/head
M66B 4 years ago
parent 40568c42b0
commit 1cc9cc204a

@ -885,6 +885,11 @@ public class IMAPMessage extends MimeMessage implements ReadableMime {
return;
}
InputStream is = getMimeStream();
String encoding = getEncoding();
if (encoding != null) {
eu.faircode.email.Log.e("Decoding raw=" + encoding);
is = MimeUtility.decode(is, encoding);
}
try {
// write out the bytes
byte[] bytes = new byte[16*1024];

Loading…
Cancel
Save