This project implements a go client for the SendGrid Web API.
Currently, I've only added what I've needed to use. Pull requests welcome.
package main
import (
"github.com/poptip/sendgrid.go"
)
func main() {
c := sendgrid.NewClient(username, password)
args := sendgrid.MailArgs{
To: []string{"[email protected]"},
From: "[email protected]",
Subject: "howdy!",
Text: "Hello there",
}
c.MailSend(args)
}
go get github.com/poptip/sendgrid.go
MIT