javax.mail.AuthenticationFailedException: failed to connect, no password specified?

前端 未结 14 1946
广开言路
广开言路 2020-12-17 10:46

This program attempts to send e-mail but throws a run time exception:

javax.mail.AuthenticationFailedException: failed to connect, no password specified?


        
相关标签:
14条回答
  • 2020-12-17 11:17

    I also have this problem so don't worry. It comes from mail server side due to an outside authentication issue. Open your mail and you will get a mail from the mail server telling you to enable accessibility. When you have done that, retry your program.

    0 讨论(0)
  • 2020-12-17 11:25

    It might be worth verifying that the gmail account hasn't been locked out due to several unsuccessful login attempts, you may need to reset your password. I had the same problem as you, and this turned out to be the solution.

    0 讨论(0)
提交回复
热议问题