问题: 非邮箱账户 可以正常登录, 邮箱账户 不可以 ,虽然已经 转义
报错SASL authentication failed using mechanism DIGEST-MD5
解决方案:
SASLAuthentication.registerSASLMechanism("PLAIN", SASLPlainMechanism.class); SASLAuthentication.supportSASLMechanism("PLAIN", 0);
问题: 非邮箱账户 可以正常登录, 邮箱账户 不可以 ,虽然已经 转义
报错SASL authentication failed using mechanism DIGEST-MD5
解决方案:
SASLAuthentication.registerSASLMechanism("PLAIN", SASLPlainMechanism.class); SASLAuthentication.supportSASLMechanism("PLAIN", 0);