|
|
@ -1463,6 +1463,8 @@ public class MimeBodyPart extends BodyPart implements MimePart {
|
|
|
|
ContentType cType = new ContentType(type);
|
|
|
|
ContentType cType = new ContentType(type);
|
|
|
|
if (cType.match("multipart/*"))
|
|
|
|
if (cType.match("multipart/*"))
|
|
|
|
return null;
|
|
|
|
return null;
|
|
|
|
|
|
|
|
if (cType.match("message/rfc822") && encoding.equalsIgnoreCase("base64"))
|
|
|
|
|
|
|
|
return encoding;
|
|
|
|
if (cType.match("message/*") &&
|
|
|
|
if (cType.match("message/*") &&
|
|
|
|
!PropUtil.getBooleanSystemProperty(
|
|
|
|
!PropUtil.getBooleanSystemProperty(
|
|
|
|
"mail.mime.allowencodedmessages", false))
|
|
|
|
"mail.mime.allowencodedmessages", false))
|
|
|
|