I have been trying to set up outgoing email via our smtp gmail server but get the following error message.
3: Connection: opening to ssl://smtp.gmail.com:465, timeout=300, options=array()
3: Connection failed. Error #2: stream_socket_client(): unable to connect to ssl://smtp.gmail.com:465 (Connection refused) [/home/*/public_html//vendor/phpmailer/phpmailer/src/SMTP.php line 344]
1: SMTP ERROR: Failed to connect to server: Connection refused (111)
Not sure what to do now.