From 1e537c2235715fc529a030b9d6fa2ce99a0631d2 Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 28 Aug 2018 14:14:09 +0000 Subject: [PATCH] Throw search exceptions --- app/src/main/java/eu/faircode/email/SearchDataSource.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/eu/faircode/email/SearchDataSource.java b/app/src/main/java/eu/faircode/email/SearchDataSource.java index f2cc10a551..fe52e55fb1 100644 --- a/app/src/main/java/eu/faircode/email/SearchDataSource.java +++ b/app/src/main/java/eu/faircode/email/SearchDataSource.java @@ -124,6 +124,7 @@ public class SearchDataSource extends PositionalDataSource imple } Properties props = MessageHelper.getSessionProperties(account.auth_type); + props.setProperty("mail.imap.throwsearchexception", "true"); Session isession = Session.getInstance(props, null); Log.i(Helper.TAG, "SDS connecting account=" + account.name);