Description
When parsing a multipart message with new Message(is) the subtype of the multipart is never set, so it always returns "alternative", which is the default subtype.
Patch required for Message.java
— Message.java 2008-03-19 07:45:10.843750000 +1100
+++ Message1.java 2008-03-19 07:46:08.875000000 +1100
@@ -164,6 +164,7 @@
Entity e = (Entity) stack.peek();
Multipart multiPart = new Multipart();
+ multiPart.setSubType(bd.getMimeType().substring(10));
e.setBody(multiPart);
stack.push(multiPart);
}