Gmail smtp error

I got intermittent smtp error with port 587, tried the tls, ssl… all four selection get the same error, gmail on web is ok, pls help

For port 587, set the security policy to Force usage of SSL/TLS.

See if that makes any difference.