mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-02 19:10:11 +01:00
Always throw search exception
This commit is contained in:
@@ -92,6 +92,7 @@ public class MessageHelper {
|
||||
//props.put("mail.imaps.compress.level", "-1");
|
||||
//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.peek", "true");
|
||||
|
||||
@@ -110,6 +111,7 @@ public class MessageHelper {
|
||||
|
||||
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.peek", "true");
|
||||
|
||||
|
||||
@@ -155,7 +155,6 @@ public class ViewModelBrowse extends ViewModel {
|
||||
|
||||
try {
|
||||
Properties props = MessageHelper.getSessionProperties(account.auth_type, account.insecure);
|
||||
props.setProperty("mail.imap.throwsearchexception", "true");
|
||||
Session isession = Session.getInstance(props, null);
|
||||
|
||||
Log.i("Boundary connecting account=" + account.name);
|
||||
|
||||
Reference in New Issue
Block a user