Solve error javax.mail.AuthenticationFailedException

后端 未结 15 1147
太阳男子
太阳男子 2020-11-29 05:45

I\'m not familiar with this function to send mail in java. I\'m getting an error while sending email to reset a password. Hope you can give me a solution.

Below is m

15条回答
  •  一生所求
    2020-11-29 06:36

    2 possible reasons:

    • Your username may require the entire email id 'username@example.com'
    • Most obvious: The password is wrong. Debug to see if the password being used is correct.

提交回复
热议问题