1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-25 09:17:58 +00:00

Ignore all boundary errors

This commit is contained in:
M66B 2019-11-18 13:06:05 +01:00
parent 1b960555a2
commit b7833f176a

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