Hi I am trying to connect to the outlook server to sending the email with smtplib in python. 
Trying this code smtplib.SMTP('smtp-mail.outlook.com') does not print out anything and also does not return an error. 
Can somebody tell me what might be the problem and how to fix it. 
Thank you a lots.
thank you for all your answer, the problem is actually caused  because of some restriction in my work network. I have talked with them and the problem is solved.
Python SMTPLIB does not connect