Added provider wp.pl

This commit is contained in:
M66B 2021-10-24 15:01:54 +02:00
parent 1f04eecea7
commit 15fed990a0
2 changed files with 17 additions and 0 deletions

View File

@ -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");

View File

@ -1392,4 +1392,18 @@
port="465"
starttls="false" />
</provider>
<provider
name="wp.pl"
appPassword="true"
domain="wp\\.pl"
link="https://pomoc.wp.pl/jak-skonfigurowac-program-pocztowy">
<imap
host="imap.wp.pl"
port="993"
starttls="false" />
<smtp
host="smtp.wp.pl"
port="465"
starttls="false" />
</provider>
</providers>