|
|
@ -2277,12 +2277,21 @@ class Core {
|
|
|
|
Message[] imessages = ifolder.search(account.isOutlook()
|
|
|
|
Message[] imessages = ifolder.search(account.isOutlook()
|
|
|
|
? new HeaderTerm(MessageHelper.HEADER_CORRELATION_ID, message.msgid)
|
|
|
|
? new HeaderTerm(MessageHelper.HEADER_CORRELATION_ID, message.msgid)
|
|
|
|
: new MessageIDTerm(message.msgid));
|
|
|
|
: new MessageIDTerm(message.msgid));
|
|
|
|
EntityLog.log(context, "MMM exists" +
|
|
|
|
EntityLog.log(context, folder.name + " exists" +
|
|
|
|
" retry=" + retry +
|
|
|
|
" retry=" + retry +
|
|
|
|
" host=" + account.host +
|
|
|
|
" host=" + account.host +
|
|
|
|
" outlook=" + account.isOutlook() +
|
|
|
|
" outlook=" + account.isOutlook() +
|
|
|
|
" messages=" + (imessages == null ? null : imessages.length));
|
|
|
|
" messages=" + (imessages == null ? null : imessages.length));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (account.isOutlook() && (imessages == null || imessages.length == 0)) {
|
|
|
|
|
|
|
|
EntityLog.log(context, folder.name + " exists alt" +
|
|
|
|
|
|
|
|
" retry=" + retry +
|
|
|
|
|
|
|
|
" host=" + account.host +
|
|
|
|
|
|
|
|
" outlook=" + account.isOutlook() +
|
|
|
|
|
|
|
|
" messages=" + (imessages == null ? null : imessages.length));
|
|
|
|
|
|
|
|
imessages = ifolder.search(new HeaderTerm("X-Microsoft-Original-Message-ID", message.msgid));
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Searching for random header:
|
|
|
|
// Searching for random header:
|
|
|
|
// iCloud: NO [UNAVAILABLE] Unexpected exception
|
|
|
|
// iCloud: NO [UNAVAILABLE] Unexpected exception
|
|
|
|
// Seznam: Jakarta Mail Exception: java.io.IOException: Connection dropped by server?
|
|
|
|
// Seznam: Jakarta Mail Exception: java.io.IOException: Connection dropped by server?
|
|
|
|