mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-30 13:12:25 -05:00
Try to send pending messages whenever we refresh pushers. should help
with "stuck" unsent messages on push-only accounts
This commit is contained in:
parent
f6f9d35430
commit
ddccd11ef7
@ -482,6 +482,14 @@ public class MailService extends CoreService
|
||||
}
|
||||
}
|
||||
}
|
||||
// Whenever we refresh our pushers, send any unsent messages
|
||||
if (K9.DEBUG)
|
||||
{
|
||||
Log.d(K9.LOG_TAG, "PUSHREFRESH: trying to send mail in all folders!");
|
||||
}
|
||||
|
||||
MessagingController.getInstance(getApplication()).sendPendingMessages(null);
|
||||
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user