EmailException: Sending the email to the following server failed : smtp.gmail.com:465

后端 未结 1 1931
故里飘歌
故里飘歌 2021-01-22 10:19

I wrote a program to send mail from my gmail account using scala Play 2.3.8 then i got the following exception:

[EmailException: Sending the email to the

相关标签:
1条回答
  • This kind of exception commonly occurs because the service provider protects your account by modern security standards.

    You have to disable this for executing your application in the right way. You can do this by visiting the link https://www.google.com/settings/security/lesssecureapps
    after log in into your Gmail account, and turn on the access for the less secure app.

    I hope this will bring you out of the issue. :-)

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