vim /etc/grafana/grafana.ini
# win版本在C:\Program Files\GrafanaLabs\grafana\conf目录下
[smtp]
# 启用smtp
enabled = true
# qq邮箱的host
host = smtp.qq.com:465
# 邮箱地址
user = @qq.com
# If the password contains # or ; you have to wrap it with triple quotes. Ex """#password;"""
# 授权码
password =
cert_file =
key_file =
skip_verify = false
# 跟user的地址相同
from_address = @qq.com
from_name = Grafana
ehlo_identity =
startTLS_policy =




