Always throw search exception

pull/147/head
M66B 6 years ago
parent 9e7e83e82c
commit fd405deea7

@ -92,6 +92,7 @@ public class MessageHelper {
//props.put("mail.imaps.compress.level", "-1"); //props.put("mail.imaps.compress.level", "-1");
//props.put("mail.imaps.compress.strategy", "0"); //props.put("mail.imaps.compress.strategy", "0");
props.put("mail.imaps.throwsearchexception", "true");
props.put("mail.imaps.fetchsize", Integer.toString(FETCH_SIZE)); props.put("mail.imaps.fetchsize", Integer.toString(FETCH_SIZE));
props.put("mail.imaps.peek", "true"); props.put("mail.imaps.peek", "true");
@ -110,6 +111,7 @@ public class MessageHelper {
props.put("mail.imap.compress.enable", "true"); props.put("mail.imap.compress.enable", "true");
props.put("mail.imap.throwsearchexception", "true");
props.put("mail.imap.fetchsize", Integer.toString(FETCH_SIZE)); props.put("mail.imap.fetchsize", Integer.toString(FETCH_SIZE));
props.put("mail.imap.peek", "true"); props.put("mail.imap.peek", "true");

@ -155,7 +155,6 @@ public class ViewModelBrowse extends ViewModel {
try { try {
Properties props = MessageHelper.getSessionProperties(account.auth_type, account.insecure); Properties props = MessageHelper.getSessionProperties(account.auth_type, account.insecure);
props.setProperty("mail.imap.throwsearchexception", "true");
Session isession = Session.getInstance(props, null); Session isession = Session.getInstance(props, null);
Log.i("Boundary connecting account=" + account.name); Log.i("Boundary connecting account=" + account.name);

Loading…
Cancel
Save