# mailatt-cli

> Send email attachment

Latest version **0.0.0-beta.0** (published 2017-02-07) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.0-beta.0 |
| Published | 2017-02-07 |
| First published | 2017-02-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 (+23 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Michel-Alexandre Belanger |
| Maintainers | mabelanger |
| Keywords | email, attachment, backup |

## Links

- npm: https://www.npmjs.com/package/mailatt-cli
- Repository: https://github.com/MABelanger/mailatt
- Homepage: https://github.com/MABelanger/mailatt#readme
- Issues: https://github.com/MABelanger/mailatt/issues
- npm.io page: https://npm.io/package/mailatt-cli

## Dependencies (3)

- [minimist](https://npm.io/package/minimist.md) ^1.2.0
- [nodemailer](https://npm.io/package/nodemailer.md) ^3.0.2
- [nodemailer-smtp-transport](https://npm.io/package/nodemailer-smtp-transport.md) ^2.7.2

## 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

- 0.0.0-beta.0 (latest) — 2017-02-07

## README

# mailatt-cli

The first purpose of this package come from the need to get daly backup to my email with attachments. Let say you need to backup a database daly and send it to the same email.

1. To use that command, you need a transport `SMTP url` with the `username` and `password`.
2. 'npm install mailatt-cli'
2. Set the right configuration into `node_modules/mailatt/dist/config/transport.js`
3. Set your email field to `node_modules/mailatt/dist/config/emailFields.js`

This package use nodemailer to send a template email with attachments specified with the argument
`--att`. You can send multiple attachments by adding multiple `--att`

example :
```
$ node ./node_modules/mailatt/dist/index.js --att='node_modules/mailatt/dist/index.js'
```

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