README ¶ Alerter Simple email sender using SendGrid for server watching script. Usage $ go get github.com/macrat/alerter $ export ALERTER_SENDGRID_APIKEY="your api key" $ echo hello world | alerter -to to-address@example.com -from from@example.com -subject hello Command-line Options / Environment Variables option environment variable description ALERTER_SENDGRID_APIKEY API Key of SendGrid. This is Required. -to ALERTER_TO To address. -to-name ALERTER_TO_NAME To name. -from ALERTER_FROM From address. -from-name ALERTER_FROM_NAME From name. -subject ALERTER_SUBJECT The subject of email. -help Show usage. -verbose Show verbose debug messages. -extra-verbose Show verbose debug messages included API key. -dryrun Don't send, only parse options. Expand ▾ Collapse ▴ Documentation ¶ There is no documentation for this package. Source Files ¶ View all Source files main.go Click to show internal directories. Click to hide internal directories.