Mailer not working

I have created my own mail on my domain and I want to set up a mailer in getea. My configuration:

ENABLED        = true
SMTP_ADDR      =
SMTP_PORT      = 465
FROM           =
USER           =
PASSWD         = xxx
PROTOCOL       = smtps

When trying to send a test email, error 502. I also tried an example from the documentation for gmail, it doesn’t work. What am I doing wrong?