When such situation occurs the first this to do is checking whether correct login, password and host’s name were entered. If you are certain that correct data was entered it is possible that your web host blocks connection possibility with an external SMTP. In this case you should contact your web host and ask him to remove the blocking of such connection.