javax.mail.AuthenticationFailedException in Android

后端 未结 2 900
抹茶落季
抹茶落季 2021-01-18 20:06

I receive the below error message in my LogCat when trying to send an email from my Gmail account using JavaMail API.

11-09 11:04:14.385: W/System.err(18443)         


        
2条回答
  •  灰色年华
    2021-01-18 20:16

    First, fix these common mistakes.

    Turn on Session debugging to see if the protocol trace gives any more clues about what's wrong.

    You may need to enable access for less secure apps.

提交回复
热议问题