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.
- unlock captha: https://accounts.google.com/displayunlockcaptcha
- 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
Post a Comment