Debug SmtpClientAuthentication

pull/215/head
M66B 4 months ago
parent b7362c727c
commit 58c2018457

@ -914,6 +914,9 @@ public class FragmentOAuth extends FragmentBase {
if (!inbound_only && state.length == 1) {
EntityLog.log(context, "OAuth checking SMTP provider=" + provider.id);
if (false && BuildConfig.DEBUG)
throw new AuthenticationFailedException("535 5.7.139 Authentication unsuccessful, SmtpClientAuthentication is disabled for the Tenant.");
try (EmailService iservice = new EmailService(context,
iprotocol, null, iencryption, false, false, false,
EmailService.PURPOSE_CHECK, true)) {

Loading…
Cancel
Save