Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 6fe3c2bced
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (15 sloc) 0.552 kB

pmail

pmail, send mail using Postmark from the command line.

Usage

Install by running

$ gem install pmail

pmail will look for a YAML file located in ~/.pmail which can be used to specify any of the parameters that pmail takes.

This is most useful for specifying your Postmark API key and sender signature. For example:

---
:api_key: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
:from: Ben Ubois <ben@benubois.com>

Examples

$ pmail -t ben@benubois.com -s Subject < message_body.txt
Jump to Line
Something went wrong with that request. Please try again.