From 72aac8ef90c03ff7096fa7ef713f672c5b3ad288 Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 15 May 2020 15:45:14 +0200 Subject: [PATCH] Check for unavailable account --- app/src/main/java/eu/faircode/email/ConnectionHelper.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/ConnectionHelper.java b/app/src/main/java/eu/faircode/email/ConnectionHelper.java index 2dfbf0805e..69ae74336c 100644 --- a/app/src/main/java/eu/faircode/email/ConnectionHelper.java +++ b/app/src/main/java/eu/faircode/email/ConnectionHelper.java @@ -305,7 +305,8 @@ public class ConnectionHelper { (message.contains("Too many simultaneous connections") /* Gmail */ || message.contains("Maximum number of connections") /* ... from user+IP exceeded */ /* Dovecot */ || message.contains("Too many concurrent connections") /* ... to this mailbox */ || - message.contains("User is authenticated but not connected") /* Outlook */)); + message.contains("User is authenticated but not connected") /* Outlook */ || + message.contains("Account is temporarily unavailable") /* Acor.de */)); } static Boolean isSyntacticallyInvalid(Throwable ex) {