0

I'm not receiving the password reset email link when I click on the Reset password in my Blogging Web App built using Django Framework, although the info "An email has been sent with instructions to reset your password." is prompted as well. I'm guessing something with my setting USER_HOST_EMAIL and USER_HOST_PASSWORD in the environment variables. The settings.py in my Django setup looks like this:

EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_PORT = 587
EMAIL_USE_TLS = True
EMAIL_HOST_USER = os.environ.get('EMAIL_HOST_USER')
EMAIL_HOST_PASSWORD = os.environ.get('EMAIL_HOST_PASSWORD')

Any ideas on what could possibly be the problem?

mostlycryptic
  • 197
  • 1
  • 6
  • 20

2 Answers2

0

I use EMAIL_PORT = 465, try changing it, If not, show how you are leaving your URl so I can try to help you better

  • Hey Alex, I don't think the problem was with the URI or the port number since I happened to change the HOST email address to the one with no two-factor authentication. That apparently worked without any other changes needed! Thanks! – mostlycryptic Mar 23 '21 at 16:58
0

I don't think the problem was with the URI or the port number since I happened to change the HOST email address to the one with no two-factor authentication. That apparently worked without any other changes needed!

mostlycryptic
  • 197
  • 1
  • 6
  • 20