django - all-auth SMTPAuthentication Error -




i'm getting smtpauthenticationerror @ /rest-auth/password/reset/ error.

i'm using all-auth-rest , set these on settings.py

email_use_tls = true email_host = 'smtp.gmail.com' email_host_user = 'randomemail@gmail.com' email_port = 25 # or 587 email_host_password = 'mypassword' 

also enabled displaying unlock captcha , allowed less secure app access

what missing?

thanks

this configurations if work smtp.gmail.com, other smtp similiar configurations.

  1. unlock captha: https://accounts.google.com/displayunlockcaptcha
  2. change active: https://www.google.com/settings/security/lesssecureapps

email_host = 'smtp.gmail.com' email_port = 587 email_host_user = 'your_gmail@gmail.com' email_host_password = 'your_password' email_use_tls = true default_from_email = email_host_user email_backend = 'django.core.mail.backends.smtp.emailbackend' 

i think missed: email_backend





wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -