Fixed "Missing start boundary"

Fixes #37
This commit is contained in:
M66B 2018-08-26 07:20:07 +00:00
parent ee276d054e
commit 91cb25bb8c
1 changed files with 2 additions and 0 deletions

View File

@ -126,9 +126,11 @@ public class ServiceSynchronize extends LifecycleService {
public ServiceSynchronize() {
// https://docs.oracle.com/javaee/6/api/javax/mail/internet/package-summary.html
// https://docs.oracle.com/javaee/6/api/javax/mail/internet/MimeMultipart.html
System.setProperty("mail.mime.ignoreunknownencoding", "true");
System.setProperty("mail.mime.decodefilename", "true");
System.setProperty("mail.mime.encodefilename", "true");
System.setProperty("mail.mime.multipart.ignoreexistingboundaryparameter", "true");
}
@Override