mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 14:17:03 +02:00
Prepared OAuth POP3
This commit is contained in:
@@ -441,6 +441,9 @@ public class EmailService implements AutoCloseable {
|
||||
if (auth == AUTH_TYPE_OAUTH && "imap.mail.yahoo.com".equals(host))
|
||||
properties.put("mail." + protocol + ".yahoo.guid", "FAIRMAIL_V1");
|
||||
|
||||
if (auth == AUTH_TYPE_OAUTH && "pop3s".equals(protocol) && "outlook.office365.com".equals(host))
|
||||
properties.put("mail." + protocol + ".auth.xoauth2.two.line.authentication.format", "true");
|
||||
|
||||
connect(host, port, auth, user, factory);
|
||||
} catch (AuthenticationFailedException ex) {
|
||||
//if ("outlook.office365.com".equals(host) &&
|
||||
|
||||
Reference in New Issue
Block a user