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;