mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-27 18:27:43 +00:00
Debugging
This commit is contained in:
parent
189426ef6e
commit
3c6c95517a
2 changed files with 4 additions and 1 deletions
|
@ -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…
Reference in a new issue