From 514f77dca6b649ea70cac7faa2370cc257d35378 Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 30 Jun 2020 21:15:25 +0200 Subject: [PATCH] Fixed OAuth probe --- app/src/main/java/eu/faircode/email/EmailService.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/EmailService.java b/app/src/main/java/eu/faircode/email/EmailService.java index ef1b397b63..792d8c53da 100644 --- a/app/src/main/java/eu/faircode/email/EmailService.java +++ b/app/src/main/java/eu/faircode/email/EmailService.java @@ -502,6 +502,8 @@ public class EmailService implements AutoCloseable { } } catch (MessagingException ex) { Log.w(ex); + if (purpose == PURPOSE_CHECK) + throw ex; } } else if ("smtp".equals(protocol) || "smtps".equals(protocol)) {