Began work on emailing service #1456
This commit is contained in:
@@ -24,6 +24,13 @@ func GetApiKeys(c *middleware.Context) Response {
|
||||
}
|
||||
}
|
||||
|
||||
bus.Dispatch(&m.SendEmailCommand{
|
||||
To: []string{"torkel@raintank.io"},
|
||||
From: "grafana@test.com",
|
||||
Subject: "Test from Grafana2",
|
||||
Body: "Body! hej hoppas allt är bra",
|
||||
})
|
||||
|
||||
return Json(200, result)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user