mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-03 13:44:40 +00:00
Yahoo sent: resolve with sync
This commit is contained in:
parent
35144ce375
commit
a3f2ebf97b
1 changed files with 6 additions and 2 deletions
|
@ -2406,11 +2406,15 @@ class Core {
|
|||
// Seznam: Jakarta Mail Exception: java.io.IOException: Connection dropped by server?
|
||||
|
||||
// Some email servers are slow with adding sent messages
|
||||
if (retry)
|
||||
if (retry) {
|
||||
Log.w(folder.name + " EXISTS retry" +
|
||||
" found=" + (imessages == null ? null : imessages.length) +
|
||||
" host=" + account.host);
|
||||
else if (imessages == null || imessages.length == 0) {
|
||||
if (account.isYahoo()) {
|
||||
EntityOperation.sync(context, folder.id, false);
|
||||
return;
|
||||
}
|
||||
} else if (imessages == null || imessages.length == 0) {
|
||||
long next = new Date().getTime() + EXISTS_RETRY_DELAY;
|
||||
|
||||
Intent intent = new Intent(context, ServiceSynchronize.class);
|
||||
|
|
Loading…
Reference in a new issue