Ok, so you can confirm that this command failed, right? Then you have a connection issue between your server and gmail. Could you check if:
- The server resolves smtp.gmail.com (using for example ping)
- You do not have any firewall rules blocking this kind of traffic
I would also contact your cloud provider explaining that you cannot connect to smtp.gmail.com in the given port.
Javier J. Salmerón
Was my answer helpful? Click on