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" /> + + + +