mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-26 09:47:13 +00:00
Ignore all boundary errors
This commit is contained in:
parent
1b960555a2
commit
b7833f176a
1 changed files with 2 additions and 0 deletions
|
@ -100,6 +100,8 @@ public class MessageHelper {
|
||||||
// https://docs.oracle.com/javaee/6/api/javax/mail/internet/MimeMultipart.html
|
// 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.ignoremissingboundaryparameter", "true"); // javax.mail.internet.ParseException: In parameter list
|
||||||
System.setProperty("mail.mime.multipart.ignoreexistingboundaryparameter", "true");
|
System.setProperty("mail.mime.multipart.ignoreexistingboundaryparameter", "true");
|
||||||
|
System.setProperty("mail.mime.multipart.ignoremissingendboundary", "true");
|
||||||
|
System.setProperty("mail.mime.multipart.allowempty", "true");
|
||||||
}
|
}
|
||||||
|
|
||||||
static Properties getSessionProperties() {
|
static Properties getSessionProperties() {
|
||||||
|
|
Loading…
Reference in a new issue