Smtp connection Failed Error in Suitecrm 7.9.4

I’ve added around line 79 in include/SugarPHPMailer.php

$this->SMTPOptions = array(
‘ssl’ => array(
‘verify_peer’ => false,
‘verify_peer_name’ => false,
‘allow_self_signed’ => true
)
);

Works like a charm…for further reading:
https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting#php-56-certificate-verification-failure

Of course…better to add a valid ssl certificate.

Hope it Helps…