pull/184/head
M66B 4 years ago
parent 189426ef6e
commit 3c6c95517a

@ -329,7 +329,8 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback<TupleMe
EntityLog.log(context, "Boundary server connecting account=" + account.name);
state.iservice = new EmailService(
context, account.getProtocol(), account.realm, account.insecure, EmailService.PURPOSE_SEARCH, debug);
context, account.getProtocol(), account.realm, account.insecure,
EmailService.PURPOSE_SEARCH, debug || BuildConfig.DEBUG);
state.iservice.setPartialFetch(account.partial_fetch);
state.iservice.setIgnoreBodyStructureSize(account.ignore_size);
state.iservice.connect(account);

@ -134,6 +134,8 @@ public class MessageHelper {
System.setProperty("mail.mime.multipart.ignoreexistingboundaryparameter", "true"); // default false
System.setProperty("mail.mime.multipart.ignoremissingendboundary", "true"); // default true
System.setProperty("mail.mime.multipart.allowempty", "true"); // default false
//System.setProperty("mail.imap.parse.debug", "true");
}
static Properties getSessionProperties() {

Loading…
Cancel
Save