mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-03 21:55:13 +00:00
Retry mailbox selected READ-ONLY
This commit is contained in:
parent
5d3cf954a8
commit
79ffbc8a63
1 changed files with 4 additions and 1 deletions
|
@ -519,7 +519,10 @@ class Core {
|
||||||
ex instanceof SQLiteConstraintException ||
|
ex instanceof SQLiteConstraintException ||
|
||||||
(!ConnectionHelper.isIoError(ex) &&
|
(!ConnectionHelper.isIoError(ex) &&
|
||||||
(ex.getCause() instanceof BadCommandException ||
|
(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) ||
|
MessageHelper.isRemoved(ex) ||
|
||||||
EntityOperation.HEADERS.equals(op.name) ||
|
EntityOperation.HEADERS.equals(op.name) ||
|
||||||
EntityOperation.RAW.equals(op.name) ||
|
EntityOperation.RAW.equals(op.name) ||
|
||||||
|
|
Loading…
Reference in a new issue