Solve error javax.mail.AuthenticationFailedException

后端 未结 15 1180
太阳男子
太阳男子 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:21

    Just in case anyone comes looking a solution for this problem.

    The Authentication problems can be alleviated by activating the google 2-step verification for the account in use and creating an app specific password. I had the same problem as the OP. Enabling 2-step worked.

提交回复
热议问题