1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-27 02:07:12 +00:00

SmtpClientAuthentication is disabled

This commit is contained in:
M66B 2024-06-01 09:28:29 +02:00
parent e36ebf979c
commit 17e3ca9602
2 changed files with 5 additions and 0 deletions

View file

@ -1106,6 +1106,10 @@ public class FragmentOAuth extends FragmentBase {
if (ex.getMessage() != null && if (ex.getMessage() != null &&
ex.getMessage().contains("535 5.7.3 Authentication unsuccessful")) ex.getMessage().contains("535 5.7.3 Authentication unsuccessful"))
tvOfficeAuthHint.setText(R.string.title_setup_office_auth_5_7_3); tvOfficeAuthHint.setText(R.string.title_setup_office_auth_5_7_3);
else if (ex.getMessage() != null &&
ex.getMessage().contains("SmtpClientAuthentication is disabled"))
// 535 5.7.139 Authentication unsuccessful, SmtpClientAuthentication is disabled for the Tenant
tvOfficeAuthHint.setText(R.string.title_setup_office_auth_5_7_139);
else else
tvOfficeAuthHint.setText(R.string.title_setup_office_auth); tvOfficeAuthHint.setText(R.string.title_setup_office_auth);
tvOfficeAuthHint.setVisibility(View.VISIBLE); tvOfficeAuthHint.setVisibility(View.VISIBLE);

View file

@ -251,6 +251,7 @@
<string name="title_setup_gmail_password">I want to authorize an account with a password instead of an on-device account</string> <string name="title_setup_gmail_password">I want to authorize an account with a password instead of an on-device account</string>
<string name="title_setup_office_auth">The error \'AUTHENTICATE failed\' can be caused by IMAP/SMTP being disabled by the system administrator</string> <string name="title_setup_office_auth">The error \'AUTHENTICATE failed\' can be caused by IMAP/SMTP being disabled by the system administrator</string>
<string name="title_setup_office_auth_5_7_3">Please try the \'Other provider\' quick setup wizard.</string> <string name="title_setup_office_auth_5_7_3">Please try the \'Other provider\' quick setup wizard.</string>
<string name="title_setup_office_auth_5_7_139">Please try the \'Outlook/Hotmail/Live\' quick setup wizard.</string>
<string name="title_setup_oauth_rationale">Authorize access to your %1$s account</string> <string name="title_setup_oauth_rationale">Authorize access to your %1$s account</string>
<string name="title_setup_oauth_update">Authorize an existing account again (otherwise create a new account)</string> <string name="title_setup_oauth_update">Authorize an existing account again (otherwise create a new account)</string>
<string name="title_setup_oauth_updated">Account authorization was updated</string> <string name="title_setup_oauth_updated">Account authorization was updated</string>