mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 05:44:51 +02:00
Refactoring
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user