# nodemailer-openssl-smime

> Nodemailer S/MIME encryption via OpenSSL

Latest version **1.1.3** (published 2023-03-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install nodemailer-openssl-smime
pnpm add nodemailer-openssl-smime
yarn add nodemailer-openssl-smime
bun add nodemailer-openssl-smime
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.3 |
| Published | 2023-03-28 |
| First published | 2022-12-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=14 |
| Dependencies | 2 |
| Unpacked size | 181.9 KB |
| Known vulnerabilities | 0 (+12 in 1 direct dependencies) |
| Install scripts | yes |
| GitHub stars | 3 |
| Author | Christof Brungräber |
| Maintainers | aggregat |
| Keywords | nodemailer, smime, openssl, email, encryption, napi, node |

## Links

- npm: https://www.npmjs.com/package/nodemailer-openssl-smime
- Repository: https://github.com/aggregat/nodemailer-openssl-smime
- Homepage: https://github.com/aggregat/nodemailer-openssl-smime#readme
- Issues: https://github.com/aggregat/nodemailer-openssl-smime/issues
- npm.io page: https://npm.io/package/nodemailer-openssl-smime

## Dependencies (2)

- [nodemailer](https://npm.io/package/nodemailer.md) ^6.8.0
- [node-gyp-build](https://npm.io/package/node-gyp-build.md) ^4.5.0

## 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.1.3 (latest) — 2023-03-28
- 1.1.2 — 2022-12-05
- 1.1.1 — 2022-12-05
- 1.1.0 — 2022-12-04
- 1.0.0 — 2022-12-04

## README

# Nodemailer S/MIME Encryption via OpenSSL

## Installation

```sh
npm i nodemailer-openssl-smime --save
```

## Usage

```typescript
import { createTransport } from "nodemailer";
import smime from "nodemailer-openssl-smime";

const sendEncryptedEmail = async () => {
  const transport = createTransport({
    /* ... */
  }).use("stream", smime({ recipient: "-----BEGIN CERTIFICATE-----..." }));

  await transport.sendMail({
    from: "sender@example.com",
    to: "recipient@example.com",
    subject: "This is a test",
    text: "Hello world",
  });
};
```

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