Configure mailer for google SMTP

Hi,
i need configure mailer to send mail through google SMTP, i use this configuration

“mailer”: {
“mail_from”: “alert-sensu@example.it”,
“mail_to”: [
"email_1@domain.com",
"email_2@domain.com"
],
“smtp_address”: “smtp.googlemail.com”,
“smtp_domain”: “googlemail.com”,
“smtp_username”: “email@google.it”,
“smtp_password”:“xxxxxxxxxx”,
“smtp_enable_starttls_auto”: “true”,
“smtp_port”:“465”
}

But don’t work…any ideas?

I resolved using “smtp_use_tls”:“true”

···

Il giorno lunedì 9 gennaio 2017 16:06:19 UTC+1, Stefano ha scritto:

Hi,
i need configure mailer to send mail through google SMTP, i use this configuration

“mailer”: {
“mail_from”: “alert-sensu@example.it”,
“mail_to”: [
"email_1@domain.com",
"email_2@domain.com"
],
“smtp_address”: “smtp.googlemail.com”,
“smtp_domain”: “googlemail.com”,
“smtp_username”: “email@google.it”,
“smtp_password”:“xxxxxxxxxx”,
“smtp_enable_starttls_auto”: “true”,
“smtp_port”:“465”
}

But don’t work…any ideas?