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:
parent
d2d85393d3
commit
74d09943c0
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user