diff --git a/app/src/main/java/eu/faircode/email/EmailService.java b/app/src/main/java/eu/faircode/email/EmailService.java index 26e0adcde7..2a35c0e674 100644 --- a/app/src/main/java/eu/faircode/email/EmailService.java +++ b/app/src/main/java/eu/faircode/email/EmailService.java @@ -593,9 +593,6 @@ public class EmailService implements AutoCloseable { if (ex.getMessage() != null && ex.getMessage().contains("Command Error. 10")) throw new AuthenticationFailedException(context.getString(R.string.title_service_error10), ex); - if (ConnectionHelper.isAborted(ex)) - throw new MessagingException(context.getString(R.string.title_service_abort), ex); - if (purpose == PURPOSE_CHECK) { if (port == 995 && !("pop3".equals(protocol) || "pop3s".equals(protocol))) throw new MessagingException(context.getString(R.string.title_service_port), ex); diff --git a/app/src/main/java/eu/faircode/email/Log.java b/app/src/main/java/eu/faircode/email/Log.java index 21c7de5d77..96fa8fe919 100644 --- a/app/src/main/java/eu/faircode/email/Log.java +++ b/app/src/main/java/eu/faircode/email/Log.java @@ -1758,6 +1758,9 @@ public class Log { ex.getCause() instanceof UnknownHostException) ex = new Throwable("Email server address lookup failed", ex); + if (ConnectionHelper.isAborted(ex)) + ex = new Throwable("The server or network actively disconnected the connection", ex); + StringBuilder sb = new StringBuilder(); if (BuildConfig.DEBUG) sb.append(new ThrowableWrapper(ex).toSafeString()); diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 92bbdc62d4..6893f5032f 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1304,7 +1304,6 @@ Please double check the port number Please double check the protocol (SSL/TLS or STARTTLS) This account needs to be authenticated again, which can be done via the quick setup wizard - The server or network actively disconnected the connection Due to Google\'s Play Store policies, it is no longer possible to support insecure connections to email servers with certificate issues for the version of FairEmail distributed in the Play Store. Therefore, this issue can only be resolved by your email provider - the above error information may help them resolve this issue.