Can't send email form server via SMTP and can't connect from gmail

Can't send email form server via SMTP and can't connect from gmail

Hi!
I’m trying to send email via SMTP from google and my server. 
For this moment gmail says that Functionality not enabled.

When I'm trying to send email using SwiftMailer via SMTP I get the fatal error from PHP
[13-Feb-2019 12:13:24 Europe/Kiev] PHP Fatal error:  Uncaught Symfony\Component\Debug\Exception\ContextErrorException: Warning: fwrite(): SSL: Broken pipe in vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php:240

Configurations https://take.ms/KglhT