SmtpClientAuthentication is disabled

pull/215/head
M66B 7 months ago
parent e36ebf979c
commit 17e3ca9602

@ -1106,6 +1106,10 @@ public class FragmentOAuth extends FragmentBase {
if (ex.getMessage() != null &&
ex.getMessage().contains("535 5.7.3 Authentication unsuccessful"))
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
tvOfficeAuthHint.setText(R.string.title_setup_office_auth);
tvOfficeAuthHint.setVisibility(View.VISIBLE);

@ -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_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_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_update">Authorize an existing account again (otherwise create a new account)</string>
<string name="title_setup_oauth_updated">Account authorization was updated</string>

Loading…
Cancel
Save