没有收到来自 Grafana 的邀请邮件

Not getting invite mail from Grafana

我正在尝试使用 sendgrid 在 grafana 中启用电子邮件通知。

但是,从 grafana UI 发送邀请后,我在日志中收到以下错误消息。

请看下面我的grafana配置:

[smtp]
enabled = true
host = smtp.sendgrid.net:587
user = *****@****.in
# If the password contains # or ; you have to wrap it with triple quotes. Ex """#password;"""
password = ***********
;cert_file =
;key_file =
;skip_verify = false
from_address = *****@****.in
from_name = Grafana
# EHLO identity in SMTP dialog (defaults to instance_name)
;ehlo_identity = dashboard.example.com

此处为 Twilio SendGrid 开发人员布道师。

我看到你的用户名是一个电子邮件地址,所以我认为你的凭据是错误的。

设置 SMTP credentials to send with SendGrid 时,用户名应为准确的字符串 apikey,密码应为至少具有“邮件”权限的 API 密钥。