Reputation: 15
I'm trying to enable email notification in grafana using sendgrid.
However I'm getting the below error in logs after sending invite from grafana UI.
Please see below my grafana configuration:
[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
Upvotes: 0
Views: 926
Reputation: 73029
Twilio SendGrid developer evangelist here.
I can see that your username is an email address, so I think your credentials are wrong.
When setting SMTP credentials to send with SendGrid the username should be the exact string apikey
and the password should be an API key with at least "Mail" permissions.
Upvotes: 1