# strapi-provider-email-smtp

> Strapi SMTP email provider with nodemailer

Latest version **1.0.3** (published 2021-09-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install strapi-provider-email-smtp
pnpm add strapi-provider-email-smtp
yarn add strapi-provider-email-smtp
bun add strapi-provider-email-smtp
```

## 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.3 |
| Published | 2021-09-25 |
| First published | 2020-09-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 5 KB |
| Known vulnerabilities | 0 (+22 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 29 |
| Author | Bassel Shmali |
| Maintainers | bass3l |
| Keywords | strapi, email, provider, smtp, nodemailer |

## Links

- npm: https://www.npmjs.com/package/strapi-provider-email-smtp
- Repository: https://github.com/bass3l/strapi-provider-email-smtp
- Homepage: https://github.com/bass3l/strapi-provider-email-smtp#readme
- Issues: https://github.com/bass3l/strapi-provider-email-smtp/issues
- npm.io page: https://npm.io/package/strapi-provider-email-smtp

## Dependencies (2)

- [lodash](https://npm.io/package/lodash.md) ^4.17.15
- [nodemailer](https://npm.io/package/nodemailer.md) ^6.4.6

## 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.3 (latest) — 2021-09-25
- 1.0.2 — 2021-06-27
- 1.0.1 — 2021-01-13
- 1.0.0 — 2020-09-04

## README

# strapi-provider-email-smtp
A third-party SMTP email provider for Strapi, tested with Gmail SMTP.

## Installation
In the root directory of your project, run:

```bash
npm i strapi-provider-email-smtp
```

## Configuration
In your `config/plugins.js`, set the following:

```javascript
module.exports = ({ env }) => ({
  email: {
    provider: 'smtp',
    providerOptions: {
      host: 'smtp.gmail.com', //SMTP Host
      port: 465   , //SMTP Port
      secure: true,
      username: 'my.username@gmail.com',
      password: 'my.password',
      rejectUnauthorized: true,
      requireTLS: true,
      connectionTimeout: 1,
    },
    settings: {
      from: 'my.username@gmail.com',
      replyTo: 'my.username@gmail.com',
    },
  },
});
```

Don't forget to allow 'Less Secure Apps' from account security options, if sending via Gmail.

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