Disabled multipart caching

This commit is contained in:
M66B 2019-06-14 17:12:05 +02:00
parent a4fd99414b
commit c2b34ddd3a
1 changed files with 1 additions and 0 deletions

View File

@ -95,6 +95,7 @@ public class MessageHelper {
System.setProperty("mail.mime.decodefilename", "true");
System.setProperty("mail.mime.encodefilename", "true");
System.setProperty("mail.mime.allowutf8", "false"); // InternetAddress, MimeBodyPart, MimeUtility
System.setProperty("mail.mime.cachemultipart", "false");
// 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