mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 06:38:29 +02:00
Guided Outlook password auth
This commit is contained in:
@@ -413,12 +413,12 @@ public class EmailService implements AutoCloseable {
|
||||
|
||||
connect(host, port, auth, user, authenticator, factory);
|
||||
} catch (AuthenticationFailedException ex) {
|
||||
if ("outlook.office365.com".equals(host) &&
|
||||
"AUTHENTICATE failed.".equals(ex.getMessage()))
|
||||
throw new AuthenticationFailedException(
|
||||
"The Outlook IMAP server is currently not accepting logins. " +
|
||||
"Synchronizing and configuring accounts will work again after Microsoft has fixed this.",
|
||||
ex.getNextException());
|
||||
//if ("outlook.office365.com".equals(host) &&
|
||||
// "AUTHENTICATE failed.".equals(ex.getMessage()))
|
||||
// throw new AuthenticationFailedException(
|
||||
// "The Outlook IMAP server is currently not accepting logins. " +
|
||||
// "Synchronizing and configuring accounts will work again after Microsoft has fixed this.",
|
||||
// ex.getNextException());
|
||||
|
||||
if (auth == AUTH_TYPE_GMAIL || auth == AUTH_TYPE_OAUTH) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user