# cli-mailer

> CLI tool for sending an email message in HTML format for an array of recipients.

Latest version **1.0.1** (published 2018-04-29) · ISC license · 0 weekly downloads

## Install

```sh
npm install cli-mailer
pnpm add cli-mailer
yarn add cli-mailer
bun add cli-mailer
```

Provides the command `cli-mailer`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2018-04-29 |
| First published | 2018-04-29 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 45.5 KB |
| Known vulnerabilities | 0 (+14 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | whtswrng |
| Keywords | cli, cli mailer, send email, mass email, json email |

## Links

- npm: https://www.npmjs.com/package/cli-mailer
- Repository: https://github.com/whtswrng/simple-mass-mailer
- Homepage: https://github.com/whtswrng/simple-mass-mailer#readme
- Issues: https://github.com/whtswrng/simple-mass-mailer/issues
- npm.io page: https://npm.io/package/cli-mailer

## Dependencies (1)

- [nodemailer](https://npm.io/package/nodemailer.md) ^4.6.4

## Alternatives

- [@expo/fingerprint](https://npm.io/package/@expo/fingerprint.md) — 6.2M weekly downloads
- [@azure/monitor-opentelemetry-exporter](https://npm.io/package/@azure/monitor-opentelemetry-exporter.md) — 850.0K weekly downloads
- [@azure/monitor-opentelemetry](https://npm.io/package/@azure/monitor-opentelemetry.md) — 624.0K weekly downloads
- [@posthog/ai](https://npm.io/package/@posthog/ai.md) — 423.3K weekly downloads
- [fakefilter](https://npm.io/package/fakefilter.md) — 63.9K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2018-04-29
- 1.0.0 — 2018-04-29

## README

# cli-mailer
CLI tool for sending an email message in HTML format for an array of recipients.

## Usage
```
cli-mailer <smtps://username:password@smtp.example.com/?pool=true> <sender@email.address.com> <subject> <recipients-path.json> <message-path>
```
#### Example
```
cli-mailer smtps://thomas47:password47@smtp.gmail.com/?pool=true thomas47@gmail.com "Email subject" ./recipients.json ./message.txt
```

Content of **"recipients.json"**:
```json
["thomas.johnes@gmail.com", "mark.zuckerberg@facebook.com", "elon.musk@tesla.com"]
```

Content of **"message.txt"**:
```html
<strong>Hello!</strong></br>
How are u today?
```        
First argument (SMTP config pool) is [smtp pool config] from node mailer.
## Installation
```
npm install -g cli-mailer
```
   [smtp pool config]: <https://nodemailer.com/smtp/>
   [dill]: <https://github.com/joemccann/dillinger>
   [git-repo-url]: <https://github.com/joemccann/dillinger.git>
   [john gruber]: <http://daringfireball.net>
   [df1]: <http://daringfireball.net/projects/markdown/>
   [markdown-it]: <https://github.com/markdown-it/markdown-it>
   [Ace Editor]: <http://ace.ajax.org>
   [node.js]: <http://nodejs.org>
   [Twitter Bootstrap]: <http://twitter.github.com/bootstrap/>
   [jQuery]: <http://jquery.com>
   [@tjholowaychuk]: <http://twitter.com/tjholowaychuk>
   [express]: <http://expressjs.com>
   [AngularJS]: <http://angularjs.org>
   [Gulp]: <http://gulpjs.com>

   [PlDb]: <https://github.com/joemccann/dillinger/tree/master/plugins/dropbox/README.md>
   [PlGh]: <https://github.com/joemccann/dillinger/tree/master/plugins/github/README.md>
   [PlGd]: <https://github.com/joemccann/dillinger/tree/master/plugins/googledrive/README.md>
   [PlOd]: <https://github.com/joemccann/dillinger/tree/master/plugins/onedrive/README.md>
   [PlMe]: <https://github.com/joemccann/dillinger/tree/master/plugins/medium/README.md>
   [PlGa]: <https://github.com/RahulHP/dillinger/blob/master/plugins/googleanalytics/README.md>

---
_Source: https://npm.io/package/cli-mailer · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
