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
1 changed files with 2 additions and 2 deletions

View File

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