Mailer Transport Error

Hello to all!
i have an error during send email to gmail. Can somebody help me with my problem?
My config

'mailer' => [
            'class' => yii\symfonymailer\Mailer ::class,
            'viewPath' => '@common/mail',
            'transport' => [
                'scheme' => 'smtps',
                'host' => '',
                'username' => '',
                'password' => '************',
                'port' => 465,
                'dsn' => 'native://default',
            'useFileTransport' => false,

and my error on the screen bellow

I finally found the solution. Thing was that my internet provider was somehow blocking smtp connection. So as I switched from my Wifi to mobile data, it suddenly started to work. Hope this helps others who come across similar issue.

May be you try that?