1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 03:32:16 -05:00

Use MimeMessageHelper.setBody() when parsing BODYSTRUCTURE

This will correctly set the MIME type of the part containing the body.
Otherwise multiparts end up having a content type of text/plain (default)
in the database... oops.
This commit is contained in:
cketti 2015-01-22 11:59:06 +01:00
parent d2d85393d3
commit 74d09943c0

View File

@ -1710,7 +1710,7 @@ public class ImapStore extends RemoteStore {
break; break;
} }
} }
part.setBody(mp); MimeMessageHelper.setBody(part, mp);
} else { } else {
/* /*
* This is a body. We need to add as much information as we can find out about * This is a body. We need to add as much information as we can find out about