This could be due to various reason, these include the following
-an incorrect smtp server is specified in parameters
-specified smtp server requires authentication
-specified smtp server requires ssl/tls activation
For the last two option, you will need to configure a relay server as x3 does not support outgoing smtp authentication and elevated security options