1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-01 04:35:57 +00:00

Retry mailbox selected READ-ONLY

This commit is contained in:
M66B 2021-05-12 17:14:27 +02:00
parent 5d3cf954a8
commit 79ffbc8a63

View file

@ -519,7 +519,10 @@ class Core {
ex instanceof SQLiteConstraintException ||
(!ConnectionHelper.isIoError(ex) &&
(ex.getCause() instanceof BadCommandException ||
ex.getCause() instanceof CommandFailedException /* NO */)) ||
ex.getCause() instanceof CommandFailedException /* NO */) &&
// https://sebastian.marsching.com/wiki/Network/Zimbra#Mailbox_Selected_READ-ONLY_Error_in_Thunderbird
(ex.getMessage() == null ||
!ex.getMessage().contains("mailbox selected READ-ONLY"))) ||
MessageHelper.isRemoved(ex) ||
EntityOperation.HEADERS.equals(op.name) ||
EntityOperation.RAW.equals(op.name) ||