Ignore all boundary errors

pull/168/head
M66B 5 years ago
parent 1b960555a2
commit b7833f176a

@ -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() {

Loading…
Cancel
Save