I have configured grafana.ini as below
:#################################### SMTP / Emailing #####################
[smtp]
enabled = true
host = smtp.gmail.com:25
user = ****@gmail.com
If the password contains # or ; you have to wrap it with triple quotes. Ex “”“#password;”“”
password = ***
cert_file =
key_file =
skip_verify = true
from_address =
from_name = Grafana
And in grafana log:
t=2023-06-28T20:45:01-0400 lvl=info msg=“Sending alert notification to” logger=alerting.notifier.email addresses=[*****@gmail.com] singleEmail=false
t=2023-06-28T20:45:01-0400 lvl=eror msg=“Failed to send alert notification email” logger=alerting.notifier.email error=“Failed to send notification to email addresses: shimo9521@gmail.com: dial tcp [2607:f8b0:4004:c08::6c]:25: connect: network is unreachable”
Does anyone know why this happen? is this because my server does not have internet connection? I’m using a remote host to build grafana