mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-04 10:39:25 +00:00
Always throw search exception
This commit is contained in:
parent
9e7e83e82c
commit
fd405deea7
2 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue