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 &&
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);