Allow base64 for message/rfc822 attachments

master
M66B 2 months ago
parent 0cd07139ec
commit bded6459c8

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

Loading…
Cancel
Save