1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-11-15 22:05:02 -05:00

IMAP: fix 587 log and skip broken messages

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@2324 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2014-12-27 11:58:16 +00:00
parent addbd73ff7
commit 0eb069b834

View File

@ -314,7 +314,7 @@ public class ImapConnection extends AbstractConnection {
throw e;
} catch (IOException e) {
DavGatewayTray.log(e);
sendClient(commandId + " NO Unable to retrieve message: " + e.getMessage());
LOGGER.warn("Ignore broken message " + uidRangeIterator.currentIndex + ' ' + e.getMessage());
}
}
sendClient(commandId + " OK UID FETCH completed");
@ -400,7 +400,7 @@ public class ImapConnection extends AbstractConnection {
throw e;
} catch (IOException e) {
DavGatewayTray.log(e);
sendClient(commandId + " NO Unable to retrieve message: " + e.getMessage());
LOGGER.warn("Ignore broken message " + rangeIterator.currentIndex+ ' ' +e.getMessage());
}
}