Mike Dewhirst
unread,Sep 25, 2016, 7:53:20 PM9/25/16Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
Some little time ago my admin site stopped sending password reset
emails. After checking all the credentials, ports, server names, etc it
is still silent.
So in the dev-server I set EMAIL_BACKEND =
'django.core.mail.backends.console.EmailBackend' and proceeded to
request a password reset. Nothing was emitted by the dev-server apart
from ...
Quit the server with CTRL-BREAK.
[26/Sep/2016 09:30:38] "GET /admin/ HTTP/1.1" 302 0
[26/Sep/2016 09:30:38] "GET /admin/login/?next=/admin/ HTTP/1.1" 200 2374
[26/Sep/2016 09:30:40] "GET /admin/password_reset/ HTTP/1.1" 200 1911
[26/Sep/2016 09:30:44] "POST /admin/password_reset/ HTTP/1.1" 302 0
[26/Sep/2016 09:30:44] "GET /admin/password_reset/done/ HTTP/1.1" 200 1784
How do I start debugging this?
Thanks
Mike
EMAIL_HOST = (my ISP's valid, pingable smtp host name)
EMAIL_PORT = 465
EMAIL_HOST_USER = (correct username issued by my ISP)
EMAIL_HOST_PASSWORD = (working password)
DEFAULT_FROM_EMAIL = EMAIL_HOST_USER