Mautic 5.0.4 smtp gmail dsn

Your software
My Mautic version is: 5.0.4
My PHP version is: 8.1…27
My Database type and version is: 10.11.7-MariaDB-cll-lve

Your problem
My problem is:
I can’t configure gmail for sending on my mautic 5, I noticed that the configuration changed.

These errors are showing in the log:
Connection could not be established with host “ssl://gmail.com:465”: stream_socket_client(): Unable to connect to ssl://gmail.com:465 (Connection timed out)

Steps I have tried to fix the problem:
I tried ports 465, 25 and 587

sorry guys!

the full host is smtp.gmail.com
It’s already working here