sendgrid

command module
v0.0.0-...-2fe7df7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2015 License: MIT Imports: 6 Imported by: 0

README

sendgrid

Send email using Sendgrid using a command line interface similar to the sendmail

example

SENDGRID_USERNAME=username SENDGRID_PASSWORD=password sendgrid -s 'Some subject' -f fromemail@gmail.com toemail@gmail.com < sendgrid.go

Send an email to 2 recipients

SENDGRID_USERNAME=username SENDGRID_PASSWORD=password sendgrid -s '2 recipients' -f fromemail@gmail.com toemail@gmail.com,toemail2@gmail.com < sendgrid.go

Send attachments

(globals implied)

sendgrid -s '1 attachment' -f fromemail@gmail.com toemail@gmail.com -a README.md < sendgrid.go
sendgrid -s '2 attachments' -f fromemail@gmail.com toemail@gmail.com -a README.md -a sendgrid.go < sendgrid.go

installation

Download a binary for your environment: https://github.com/lancecarlson/sendgrid/releases

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL