Skip to content
Command-line Postmark http://benubois.com/pmail
Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

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
Something went wrong with that request. Please try again.