An open API service indexing awesome lists of open source software.

https://github.com/pforret/postmarkit

Use Postmark API to send emails (CLI/bash) -- UNDER DEVELOPMENT
https://github.com/pforret/postmarkit

api bash bashew email postmark scripting

Last synced: about 2 months ago
JSON representation

Use Postmark API to send emails (CLI/bash) -- UNDER DEVELOPMENT

Awesome Lists containing this project

README

          

![bash_unit CI](https://github.com/pforret/postmark/workflows/bash_unit%20CI/badge.svg)
![Shellcheck CI](https://github.com/pforret/postmark/workflows/Shellcheck%20CI/badge.svg)
![GH Language](https://img.shields.io/github/languages/top/pforret/postmark)
![GH stars](https://img.shields.io/github/stars/pforret/postmark)
![GH tag](https://img.shields.io/github/v/tag/pforret/postmark)
![GH License](https://img.shields.io/github/license/pforret/postmark)
[![basher install](https://img.shields.io/badge/basher-install-white?logo=gnu-bash&style=flat)](https://basher.gitparade.com/package/)

# postmark

Use Postmark API on the command line
![pforret/postmark](postmark.jpg)

## Usage
```
Program: postmark.sh 1.0.0 by peter@forret.com
Updated: Jan 3 17:14:14 2021
Description: Use Postmark API on the command line
Usage: postmark.sh [-f] [-h] [-q] [-v] [-B ] [-C ] [-F ] [-G ] [-K ] [-M ] [-S ] [-T ] [-l ] [-t ]
Flags, options and parameters:
-f|--force : [flag] do not ask for confirmation (always yes) [default: off]
-h|--help : [flag] show usage [default: off]
-q|--quiet : [flag] no output [default: off]
-v|--verbose : [flag] output more [default: off]
-B|--bcc > : [option] bcc: address
-C|--cc > : [option] cc: address
-F|--from > : [option] from: address [default: ]
-G|--tag > : [option] email tag [default: test]
-K|--token > : [option] Postmark API server token [default: POSTMARK_API_TEST]
-M|--stream > : [option] Postmark stream [default: outbound]
-S|--subject > : [option] email subject [default: Mail from @ - ]
-T|--to > : [option] to: address [default: example@example.com]
-l|--log_dir > : [option] folder for log files [default: ~/log/postmark]
-t|--tmp_dir > : [option] folder for temp files [default: .tmp]
: [parameter] action to perform: check/html/text/md
: [parameter] input text or html (optional)
```

## Installation

with [basher](https://github.com/basherpm/basher)

```bash
basher install pforret/postmark
```

or with `git`

```bash
git clone https://github.com/pforret/postmark.git
cd postmark
```

## Acknowledgements

* script created with [bashew](https://github.com/pforret/bashew)

© 2021 Peter Forret