mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-14 13:03:13 +02:00
Debug SmtpClientAuthentication
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user