1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-24 15:11:03 +00:00

Retry POP3 sync twice

This commit is contained in:
M66B 2021-10-31 12:30:50 +01:00
parent 0fbf31e7c4
commit d63a9664f8

View file

@ -541,7 +541,8 @@ class Core {
EntityOperation.ATTACHMENT.equals(op.name) ||
(EntityOperation.ADD.equals(op.name) &&
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)) {
// com.sun.mail.iap.BadCommandException: BAD [TOOBIG] Message too large
// com.sun.mail.iap.CommandFailedException: NO [CANNOT] Cannot APPEND to a SPAM folder