javax.mail.AuthenticationFailedException: 535 5.7.3 Authentication unsuccessful

后端 未结 5 1229
野的像风
野的像风 2021-01-18 07:29

I am sending e email using an SMTP error . I am getting Authentication unsuccessful. The username and password are correct. Am I doing something wrong.

The error log

5条回答
  •  难免孤独
    2021-01-18 08:04

    Had the same issue. It's an MS Exchange error that you receive. You are probably not allowed to use your email to send an email via a relay. The administrator of the Exchange server needs to give the rights to do that.

    It has nothing to do with a configuration problem on the Java side.

提交回复
热议问题