Began work on emailing service #1456

This commit is contained in:
Torkel Ödegaard
2015-06-04 14:29:39 +02:00
parent 83279604c6
commit 3f5ab189cd
9 changed files with 334 additions and 0 deletions
+7
View File
@@ -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)
}