I registered a domain and a private email using namecheap.com. I am trying to send an email from this private email. However, I get the error in the title.
In my set
your server mail.privateemail.com
does not know what is STARTTLS
SMTP Commnad is
this may happen in two cases:
Judging, that you are connecting to port 587 which should provide plain communication - it's either 1 or 3.
If you want this just work, remove EMAIL_USE_TLS = True
or set it to False
, otherwise - SMTP server configuration should be fixed.