mirror of https://github.com/M66B/FairEmail.git
Cancel SYNC when not I/O error
This commit is contained in:
parent
b060d95116
commit
0d248e9265
|
@ -596,7 +596,8 @@ class Core {
|
|||
EntityFolder.DRAFTS.equals(folder.type)) ||
|
||||
(op.tries >= LOCAL_RETRY_MAX &&
|
||||
EntityOperation.SYNC.equals(op.name) &&
|
||||
account.protocol == EntityAccount.TYPE_POP)) {
|
||||
(account.protocol == EntityAccount.TYPE_POP ||
|
||||
!ConnectionHelper.isIoError(ex)))) {
|
||||
// com.sun.mail.iap.BadCommandException: BAD [TOOBIG] Message too large
|
||||
// com.sun.mail.iap.CommandFailedException: NO [CANNOT] Cannot APPEND to a SPAM folder
|
||||
// com.sun.mail.iap.CommandFailedException: NO [ALERT] Cannot MOVE messages out of the Drafts folder
|
||||
|
|
Loading…
Reference in New Issue