I would put print statements in the Django source code and try to follow its execution.
On Sunday, September 25, 2016 at 7:53:20 PM UTC-4, Mike Dewhirst wrote:
-- On Sunday, September 25, 2016 at 7:53:20 PM UTC-4, Mike Dewhirst wrote:
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
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/75fd0ebe-528a-4f1c-a181-d2768dfc1100%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment