From 15fed990a0f6f29e750ce329cf606db6fce6c972 Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 24 Oct 2021 15:01:54 +0200 Subject: [PATCH] Added provider wp.pl --- .../main/java/eu/faircode/email/EmailService.java | 3 +++ app/src/main/res/xml/providers.xml | 14 ++++++++++++++ 2 files changed, 17 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/EmailService.java b/app/src/main/java/eu/faircode/email/EmailService.java index f676992422..26382cc74b 100644 --- a/app/src/main/java/eu/faircode/email/EmailService.java +++ b/app/src/main/java/eu/faircode/email/EmailService.java @@ -402,6 +402,9 @@ public class EmailService implements AutoCloseable { ServiceAuthenticator authenticator = new ServiceAuthenticator(context, auth, provider, keep_alive, user, password, intf); + if ("imap.wp.pl".equals(host)) + properties.put("mail.idledone", "true"); + try { if (auth == AUTH_TYPE_GMAIL || auth == AUTH_TYPE_OAUTH) { properties.put("mail." + protocol + ".auth.mechanisms", "XOAUTH2"); diff --git a/app/src/main/res/xml/providers.xml b/app/src/main/res/xml/providers.xml index fbf2d53f62..4af02eea0f 100644 --- a/app/src/main/res/xml/providers.xml +++ b/app/src/main/res/xml/providers.xml @@ -1392,4 +1392,18 @@ port="465" starttls="false" /> + + + +