Retry POP3 sync twice

pull/194/merge
M66B 4 years ago
parent 0fbf31e7c4
commit d63a9664f8

@ -541,7 +541,8 @@ class Core {
EntityOperation.ATTACHMENT.equals(op.name) || EntityOperation.ATTACHMENT.equals(op.name) ||
(EntityOperation.ADD.equals(op.name) && (EntityOperation.ADD.equals(op.name) &&
EntityFolder.DRAFTS.equals(folder.type)) || EntityFolder.DRAFTS.equals(folder.type)) ||
(EntityOperation.SYNC.equals(op.name) && (op.tries >= LOCAL_RETRY_MAX &&
EntityOperation.SYNC.equals(op.name) &&
account.protocol == EntityAccount.TYPE_POP)) { account.protocol == EntityAccount.TYPE_POP)) {
// com.sun.mail.iap.BadCommandException: BAD [TOOBIG] Message too large // 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 [CANNOT] Cannot APPEND to a SPAM folder

Loading…
Cancel
Save