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.
Loading
Please register or sign in to comment