|
|
@ -5221,8 +5221,8 @@ public class MessageHelper {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private static boolean isMimeType(Part part, String mimeType) throws MessagingException {
|
|
|
|
private static boolean isMimeType(Part part, String mimeType) throws MessagingException {
|
|
|
|
if (mimeType.endsWith("/*"))
|
|
|
|
if (mimeType.endsWith("/*"))
|
|
|
|
return part.isMimeType(mimeType);
|
|
|
|
return part.isMimeType(mimeType);
|
|
|
|
|
|
|
|
|
|
|
|
if (part.isMimeType(mimeType)) {
|
|
|
|
if (part.isMimeType(mimeType)) {
|
|
|
|
ContentType ct = new ContentType(part.getContentType());
|
|
|
|
ContentType ct = new ContentType(part.getContentType());
|
|
|
|