It is pretty clear that 3CX cannot communicate with the SMTP server. We are all curious whether you are using the 3CX SMTP server or a custom SMTP server.
If this was a authentication issue you would get a different error. It could be a network problem, or a DNS resolution problem, or a SMTP server problem, but what is clear is that 3CX cannot connect to the configured SMTP server.