SMTP not configured [...] with smtp.gmail.com

Hi,

I configured the smtp section of grafana.ini as follows:

#################################### SMTP / Emailing ##########################
[smtp]
enabled = true
host = smtp.gmail.com:465
user = my gmail adress
;If the password contains # or ; you have to wrap it with trippel quotes. Ex β€œβ€"#password;"""
password = xxxxxxxxxxxxxx
;cert_file =
;key_file =
;skip_verify = false
from_address = my gmail adress
from_name = xxxxxxx
; EHLO identity in SMTP dialog (defaults to instance_name)
;ehlo_identity = dashboard.example.com

##############################################################

Howoever, when I try to invite new user I have the famous message : SMTP not configured […]
Any idea ?
Thanks for your help.
Regards,
Christophe.

Hi,

I found solution : after configuration of grafana.ini, it is necessary to restart grafana-server by using command

sudo : service grafana-server restart

Regards,
Christophe.

2 Likes