Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Command-line Postmark
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
lib
.gitignore
Gemfile
README.md
Rakefile
pmail.gemspec

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.