SuiteCRM 7.8.22 LTS not sending emails on aws server

my LTS version is giving me error Error:SMTP connect() failed.

i have also installed the SuiteCRM 7.10.9 version but this is not giving me smtp error, only LTS version giving me errors Please help me resolve the issue.

Please state your exact LTS version.

Where is this error coming up? When sending Test Emails? From which screen exactly?

If you see a link in the SMTP error to “show SMTP Full log”, please check its contents.

Suite crm version : SuiteCRM 7.8.22 LTS
Download link :

Linux: Ubuntu 18.04.1 LTS
I have also followed the links in the suite CRM forum also change the setting in phpmailer as well but still show the same error in the suitecrm 7.8.22 LTS version

and how can i access the logs?

Ok, so now I know your exact version, what about my other questions? Thanks