That means it cannot connect to the mail server specified.
Either the SMTP Server address is not a valid address, or the port number is wrong is the main cause for this.
if the smtp server requires authentication, make sure you have entered the proper username and password.