Skip to content

poptip/sendgrid.go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sendgrid

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.

Usage

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)
}

Install

go get github.com/poptip/sendgrid.go

License

MIT

About

Go client for the SendGrid Web API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages