javax.mail.AuthenticationFailedException: 534-5.7.14 <https://accounts.google.com/signin/continue?sarp=1

后端 未结 3 1437
孤独总比滥情好
孤独总比滥情好 2021-01-01 04:19

I get the following message when trying to send email from an application. Though I have the mail.jar added for my project, it still gives me the same error. P

3条回答
  •  南笙
    南笙 (楼主)
    2021-01-01 04:49

    Follow these steps:

    1. Go to Google account by clicking your profile picture in the top-right corner
    2. Go to Sign-in and Security_ tab
    3. Scroll down the page and check the less secure apps: OFF button

提交回复
热议问题