# mailer-pure

> pure mailer by node

Latest version **1.0.0** (published 2018-06-06) · MIT license · 0 weekly downloads

## Install

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

## 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.0 |
| Published | 2018-06-06 |
| First published | 2018-06-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 6.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | soonfy |
| Maintainers | soonfy |
| Keywords | mailer, pure |

## Links

- npm: https://www.npmjs.com/package/mailer-pure
- Repository: https://github.com/soonfy/mailer-pure
- Homepage: https://github.com/soonfy/mailer-pure#readme
- Issues: https://github.com/soonfy/mailer-pure/issues
- npm.io page: https://npm.io/package/mailer-pure

## 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.0 (latest) — 2018-06-06

## README

# mailer-pure

[![version](https://img.shields.io/badge/version-v1.0.0-green.svg)](https://github.com/soonfy/mailer-pure)

[![build](https://img.shields.io/badge/build-passing-brightgreen.svg)](https://github.com/soonfy/mailer-pure)
[![coverage](https://img.shields.io/badge/coverage-100%25-brightgreen.svg)](https://github.com/soonfy/mailer-pure)

[![npm](https://img.shields.io/badge/npm-v5.0.0-orange.svg)](https://github.com/soonfy/mailer-pure)
[![node](https://img.shields.io/badge/node-%3E%3Dv8.0.0-orange.svg)](https://github.com/soonfy/mailer-pure)

[![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/soonfy/mailer-pure)

### purpose

  > study send mail.

### install

```bash
npm i -D mailer-pure
```

### config test

```bash
npm test
```

### cover test

```bash
npm run cover
```

### usage

```js
const fs = require('fs')
const path = require('path')

const Mailer = require('mailer-pure')
const mailer = new Mailer(<email>, <pass>)

const send = async () => {
  const data = await mailer.send({
    to: <to email>,
    subject: <subject>,
    html: fs.createReadStream(path.resolve(__dirname, <path/to/file>)),
    attachments: [{
      filename: <filename>,
      content: fs.createReadStream(path.resolve(__dirname, <path/to/file>))
    }]
  })
  console.info(data)
}

send()
```

### License

[MIT](LICENSE)

### knowledge

1. nodemailer --> `https://nodemailer.com/about/`

1. [editorconfig](.editorconfig)

1. [travis](.travis.yml)

1. license

    > MIT --> `https://opensource.org/licenses/MIT`

1. badge

    > shields --> `https://shields.io/`

1. cover

    > istanbul --> `https://www.npmjs.com/package/istanbul`

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