1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-26 09:47:13 +00:00

Enable multipart caching

This commit is contained in:
M66B 2022-10-06 09:27:38 +02:00
parent 0b05bf7fc2
commit c067394075

View file

@ -251,7 +251,7 @@ public class MessageHelper {
System.setProperty("mail.mime.decodeparameters", "true");
System.setProperty("mail.mime.encodeparameters", "true");
System.setProperty("mail.mime.allowutf8", "false"); // InternetAddress, (MimeBodyPart: session), MimeUtility
System.setProperty("mail.mime.cachemultipart", "false");
System.setProperty("mail.mime.cachemultipart", "true");
// https://docs.oracle.com/javaee/6/api/javax/mail/internet/MimeMultipart.html
System.setProperty("mail.mime.multipart.ignoremissingboundaryparameter", "true"); // default true, javax.mail.internet.ParseException: In parameter list