I’m trying to send email using Gmail SMTP without success so far…
My kapacitor.conf (I’m still testing so I send emails to myself):
[smtp] enabled = true host = "smtp.gmail.com" port = 587 username = "firstname.lastname@example.org" password = "*********" no-verify = false global = false state-changes-only = false from = "email@example.com" to = ["firstname.lastname@example.org"] idle-timeout = "300s"
The relevant part of my tick.script (alerts are logged but no email is sent):
// Alert alert .log('/tmp/GENERAL_alert.log') .email('email@example.com')
Any idea on what I am doing wrong?