-
-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connect with heroku #102
Comments
Hello @johnmara I think you need to enable "less secure apps" on your Gmail account: https://www.google.com/settings/security/lesssecureapps There's an open issue to be able to use a more secure authentication mechanism #97 |
You should also follow this guide to understand why the authentication failed: https://support.google.com/accounts/answer/6009563 In your case, you are trying to authenticate from a new location (Heroku). |
@johnmara Is it working now ? Can I close this issue ? |
Finally I used sendgrid and worked without a problem. |
Ok so this is definitely related to a configuration issue with Gmail. |
You have to check two important things when you want to send emails via Gmail smtp:
|
Hello, I'm using Play Framework 2.5 and I've deployed my app on Heroku.
The problem is that the same configuration that works locally, is not working on heroku.
Specifically my application.conf file contains:
And my method which sends the email contains:
When sending from heroku I get the error:
The text was updated successfully, but these errors were encountered: