I'm using SMTP Gmail to send alerts, but I can't connect to the mail server. I don't know how to fix it.

ERROR SolarWinds.Orion.Core.Actions.Impl.Email.EmailMethodInvoker - (null) Test for SMTP server (smtp.gmail.com:465, SSL enabled, Authentication enabled) failed
System.Web.HttpException (0x80004005): The message could not be sent to the SMTP server. The transport error code was 0x80040217. The server response was not available