Fixed "Missing start boundary"

Fixes #37
pull/72/head
M66B 6 years ago
parent ee276d054e
commit 91cb25bb8c

@ -126,9 +126,11 @@ public class ServiceSynchronize extends LifecycleService {
public ServiceSynchronize() { 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/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.ignoreunknownencoding", "true");
System.setProperty("mail.mime.decodefilename", "true"); System.setProperty("mail.mime.decodefilename", "true");
System.setProperty("mail.mime.encodefilename", "true"); System.setProperty("mail.mime.encodefilename", "true");
System.setProperty("mail.mime.multipart.ignoreexistingboundaryparameter", "true");
} }
@Override @Override

Loading…
Cancel
Save