I have a Django app running on a server with uWSGI and nginx. 

In my `local_settings.py` file I have this:

    ###############
    # EMAIL SETUP #
    ###############
    EMAIL_HOST = 'smtp.privateemail.com'
    EMAIL_HOST_USER = 'supp...@mydomain.com'
    EMAIL_HOST_PASSWORD = 'MY EMAIL PASSWORD'
    EMAIL_PORT = 587
    EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
    EMAIL_USE_TLS = True
    
    
    ########################
    # OTHER EMAIL SETTINGS #
    ########################
    ADMIN_EMAIL = "ad...@mydomain.com"
    SUPPORT_EMAIL = "supp...@mydomain.com"


When I fill out the `/password_reset/` template with an email and submit 
the form, the email I enter gets no email. 

I see these lines in my `uwsgi.log` file after I submit the password reset 
form.

    Fri May 11 17:48:10 2018 - SIGPIPE: writing to a closed pipe/socket/fd 
(probably the client disconnected) on request /password_reset/ (ip 
73.49.35.42) !!!
    Fri May 11 17:48:10 2018 - uwsgi_response_write_headers_do(): Broken 
pipe [core/writer.c line 248] during POST /password_reset/ (73.49.35.42)
    IOError: write error

What error is this? Why won't the password reset email send?

-- 
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+unsubscr...@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/5a50ba30-9709-48a9-a937-bd9afb8bbf30%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to