@sean this django app of ours is not able to send email returning a 502 error it was working on webfaction but when migrated here email stops working.
Below is the link
Please can you assist since our client is chasing us on it ..
luke this usually happens because some older versions of Django need to connect to port 25 for SMTP even when configured to use SSL. WebFaction's SMTP runs with port 25 open, but ours does not.
Please see Sending Email from Django in our docs for the email settings to use on Opalstack.
sean so shall use which email port 587 or 465
My preference is to use the TLS option:
EMAIL_USE_TLS = True
EMAIL_PORT = 587