hello! I have Django project + I have mail server. When I am trying to send email from Django, I get this error Error sending request closing email: [SSL: UNSUPPORTED_PROTOCOL] unsupported protocol (_ssl.c:1129). If I send email from mail server application, it works.
there is my settings:
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = (my host)
EMAIL_PORT = 587
EMAIL_USE_TLS = True
EMAIL_USE_SSL = False
I've updated openssl, certifi, ca-certificates, but it doesn't work
I use ubuntu 20.04 on my server. Could you help me to solve it, please
I can't find where is the problem, in os or in python...