我正在嘗試使用 sendgrid 在 grafana 中啟用電子郵件通知。
但是,從 grafana UI 發送邀請后,我在日志中收到以下錯誤。
- lvl=eror msg="異步發送電子郵件 0 成功,不發送電子郵件:*****@gmail.com 錯誤:無法向電子郵件地址發送通知:*****@gmail.com:535 身份驗證失敗:錯誤用戶名/密碼”記錄器=通知
請參閱下面我的 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
uj5u.com熱心網友回復:
Twilio SendGrid 開發人員布道者在這里。
我可以看到您的用戶名是電子郵件地址,因此我認為您的憑據有誤。
設定SMTP 憑據以使用 SendGrid 發送時,用戶名應該是確切的字串apikey,密碼應該是至少具有“郵件”權限的 API 密鑰。
轉載請註明出處,本文鏈接:https://www.uj5u.com/yidong/383249.html
