initial commit

This commit is contained in:
Patrick Nagurny
2018-10-19 15:31:41 -04:00
commit e2dd29259f
203 changed files with 44839 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
**This helper allows you to quickly and easily build a Mail object for sending email through SendGrid.**
## Dependencies
- [rest](https://github.com/sendgrid/rest)
# Quick Start
Run the [example](https://github.com/sendgrid/sendgrid-go/tree/master/examples/helpers/mail/example.go) (make sure you have set your environment variable to include your SENDGRID_API_KEY).
```bash
go run examples/helpers/mail/example.go
```
## Usage
- See the [example](https://github.com/sendgrid/sendgrid-go/tree/master/examples/helpers/mail/example.go) for a complete working example.
- [Documentation](https://sendgrid.com/docs/API_Reference/Web_API_v3/Mail/overview.html)
## Test
```bash
go test ./... -v
```
or
```bash
cd helpers/mail
go test -v
```