Had this ever worked and now stopped, or new?
You need to talk to the admins of the mail server. Check protocol & port, whether they have an allow list of permitted sender’s, etc.
If that looks OK, confirm you can route to the mail server, check with the network guys etc.