1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-22 06:01:12 +00:00

POP3 not connected is unrecoverable

This commit is contained in:
M66B 2019-11-12 19:16:36 +01:00
parent a159b97e6c
commit a82c9f2ccd

View file

@ -3261,6 +3261,7 @@ class Core {
void error(Throwable ex) {
if (ex instanceof MessagingException &&
("connection failure".equals(ex.getMessage()) ||
"Not connected".equals(ex.getMessage()) || // POP3
ex.getCause() instanceof SocketException ||
ex.getCause() instanceof ConnectionException))
recoverable = false;