SMTP Mails not working

Hello
Past few hours i am deep searching for a solution . my SMTP Mail connection not working i am getting following error Connection could not be established with host
. same email and password working for round cube mail but in SMTP not working
Kindly help me