Ignore all boundary errors

This commit is contained in:
M66B 2019-11-18 13:06:05 +01:00
parent 1b960555a2
commit b7833f176a
1 changed files with 2 additions and 0 deletions

View File

@ -100,6 +100,8 @@ public class MessageHelper {
// https://docs.oracle.com/javaee/6/api/javax/mail/internet/MimeMultipart.html
System.setProperty("mail.mime.multipart.ignoremissingboundaryparameter", "true"); // javax.mail.internet.ParseException: In parameter list
System.setProperty("mail.mime.multipart.ignoreexistingboundaryparameter", "true");
System.setProperty("mail.mime.multipart.ignoremissingendboundary", "true");
System.setProperty("mail.mime.multipart.allowempty", "true");
}
static Properties getSessionProperties() {