Unable send email from the django using office 365

Did anyone find a solution on how to sent email using office 365?

all my settings and views are well updated but I kept running into this error
[Errno 101] Network is unreachable

I have stable internet, on office 365 dashboard, authenticated SMTP has been enabled for this email

I don’t know what other setting is missing here to cause above error