Email Setup Fail - PHPMailer smtp connection failed

So i Install Suite CRM.
On my cpanel i setup a email account and attempted to link it to Suite Crm and i got this error:

3: Connection: opening to ssl://mail.batterypowered.co.za:465, timeout=300, options=array()
3: Connection failed. Error #2: stream_socket_client(): unable to connect to ssl://mail.batterypowered.co.za:465 (No route to host) [/home/battewye/public_html/suitecrm/vendor/phpmailer/phpmailer/src/SMTP.php line 379]
1: SMTP ERROR: Failed to connect to server: No route to host (113)
3: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

I looked at a few local forums and it says upgrade your PHP.

This is my Web server Setting

|cPanel Version|92.0 (build 6)|
|Apache Version|2.4.46|
|PHP Version|7.3.25|
|MySQL Version|10.1.48-MariaDB|
|Architecture|x86_64|

When i look at Suite CRM it detects that we on version 7.0.3.
Not sure if anyone can assist ?

At first instance I see your PHP version is not compatible with SuiteCRM:

Check here for more information:

Any reason for using such an old version? Back at that version, you have no security or even many of the improvement SuiteCRM is known for. PHP73 supports our latest version found here - https://suitecrm.com/download/

THE PHP Version we on is 7.3.25.
Inside SuiteCRM detects that we on 7.0.3 not sure why?

There can be more than one PHP version in the system. You can check where it is with the executable path in Admin / Diagnostics / phpinfo

So we have done the update and the Diagnostics says the PHP is on PHP Version 7.3.25 but when setting up email i still have the following error :

3: Connection: opening to ssl://mail.batterypowered.co.za:465, timeout=300, options=array()
3: Connection failed. Error #2: stream_socket_client(): unable to connect to ssl://mail.batterypowered.co.za:465 (No route to host) [/home/battewye/public_html/suitecrm/vendor/phpmailer/phpmailer/src/SMTP.php line 374]
1: SMTP ERROR: Failed to connect to server: No route to host (113)
3: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

not sure what to do ?

Check that your server has network access to mail.batterypowered.co.za

Its all hosted by a service provider.

Well, either you or them, somebody’s going to have to do the network troubleshooting, right?

Please note I can pick up the MX records for this domain are pointing to Outlook. Could this be a problem? How would i fix this.

You can see that the error message denotes a network connectivity problem.

You need to check not that just that your mail server is up, but that your SuiteCRM server can access it. This is network configuration, it has to do with DNS settings, firewalls, etc.