mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-27 11:42:16 -05:00
Include send failures in the K9mail-errors folder
This commit is contained in:
parent
5162d847ad
commit
b490773546
@ -3599,6 +3599,7 @@ public class MessagingController implements Runnable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
notifyUserIfCertificateProblem(mApplication, e, account, false);
|
notifyUserIfCertificateProblem(mApplication, e, account, false);
|
||||||
|
addErrorMessage(account, "Failed to send message", e);
|
||||||
message.setFlag(Flag.X_SEND_FAILED, true);
|
message.setFlag(Flag.X_SEND_FAILED, true);
|
||||||
Log.e(K9.LOG_TAG, "Failed to send message", e);
|
Log.e(K9.LOG_TAG, "Failed to send message", e);
|
||||||
for (MessagingListener l : getListeners()) {
|
for (MessagingListener l : getListeners()) {
|
||||||
@ -3611,6 +3612,7 @@ public class MessagingController implements Runnable {
|
|||||||
for (MessagingListener l : getListeners()) {
|
for (MessagingListener l : getListeners()) {
|
||||||
l.synchronizeMailboxFailed(account, localFolder.getName(), getRootCauseMessage(e));
|
l.synchronizeMailboxFailed(account, localFolder.getName(), getRootCauseMessage(e));
|
||||||
}
|
}
|
||||||
|
addErrorMessage(account, "Failed to fetch message for sending", e);
|
||||||
lastFailure = e;
|
lastFailure = e;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user