Commit 3a874e80 authored by Mickaël Guessant's avatar Mickaël Guessant

IMAP: fix 587 log and skip broken messages

git-svn-id: https://svn.code.sf.net/p/davmail/code/trunk@2324 3d1905a2-6b24-0410-a738-b14d5a86fcbd
parent 9af89c1f
......@@ -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());
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment