Easily configure a performant, secure, and stable NGINX server.Learn More
I am unable to send email from django app (502 Bad Gateway error)
Its been days and I am stuck.
Whenever I try to send email, I get “502 Bad Gateway” error.
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' EMAIL_HOST = 'golf.mywebsitebox.com' EMAIL_HOST_USER = '' EMAIL_HOST_PASSWORD = '' EMAIL_PORT = 465 EMAIL_USE_TLS = True
I am using Ubunto OS with Nginx and Gunicorn. I have opened ticket twice with this issue but no one is responding.
Hope someone here responds.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×