【问题标题】:没有收到来自 Grafana 的邀请邮件
【发布时间】:2022-01-18 11:02:49
【问题描述】:

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

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

  • lvl=eror msg="异步发送邮件0成功,不发送邮件: *****@gmail.com 错误:无法向电子邮件地址发送通知:*****@gmail.com:535 身份验证失败:用户名/密码错误“logger=notifications

请看下面我的 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

【问题讨论】:

    标签: email smtp grafana sendgrid dashboard


    【解决方案1】:

    这里是 Twilio SendGrid 开发人员宣传员。

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

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

    【讨论】:

      猜你喜欢
      • 2021-08-08
      • 1970-01-01
      • 1970-01-01
      • 2013-08-17
      • 1970-01-01
      • 1970-01-01
      • 2020-11-21
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多