# strapi-zeptomail

> A custom email provider for Strapi v4, enabling seamless email sending through the ZeptoMail service.

Latest version **1.1.2** (published 2024-08-14) · ISC license · 0 weekly downloads

## Install

```sh
npm install strapi-zeptomail
pnpm add strapi-zeptomail
yarn add strapi-zeptomail
bun add strapi-zeptomail
```

## 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.1.2 |
| Published | 2024-08-14 |
| First published | 2024-08-10 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 6.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | radiancegeorge |
| Keywords | strapi, zeptomail, email, email provider, provider, plugin, strapi plugin, transactional emails, email deliverability, nodejs, headless CMS |

## Links

- npm: https://www.npmjs.com/package/strapi-zeptomail
- npm.io page: https://npm.io/package/strapi-zeptomail

## Dependencies (2)

- [axios](https://npm.io/package/axios.md) ^1.7.3
- [dotenv](https://npm.io/package/dotenv.md) ^16.4.5

## 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.2 (latest) — 2024-08-14
- 1.1.1 — 2024-08-13
- 1.1.0 — 2024-08-12
- 1.0.6 — 2024-08-11
- 1.0.5 — 2024-08-11
- 1.0.4 — 2024-08-11
- 1.0.3 — 2024-08-11
- 1.0.2 — 2024-08-11
- 1.0.1 — 2024-08-11
- 1.0.0 — 2024-08-10

## README

# Strapi ZeptoMail Provider

A custom email provider for Strapi v4, enabling seamless email sending through the ZeptoMail service.

## Installation

```bash
npm install strapi-zeptomail
# or
yarn add strapi-zeptomail
```

## Configuration

1. **Integrate the Provider:**

   - Open your Strapi project's `config/plugins.js` file.
   - Add the following configuration:

     ```javascript
     module.exports = ({ env }) => ({
       email: {
         config: {
           provider: "strapi-zeptomail",
           providerOptions: {
             apiKey: env("ZEPTOMAIL_API_KEY"),
           },
           settings: {
             defaultFrom: "your-default-from-email@example.com",
             defaultReplyTo: "your-default-reply-to-email@example.com",
           },
         },
       },
     });
     ```

2. **Secure Your API Key:**

   - Replace `env('ZEPTOMAIL_API_KEY')` with your actual ZeptoMail API key.
   - Store this key securely in your `.env` file or within the `config/plugins.js` itself.

## Usage

Leverage the ZeptoMail provider just like any other Strapi email provider:

```javascript
await strapi.plugins["email"].services.email.send({
  to: "recipient@example.com",
  from: "sender@example.com",
  subject: "Hello from Strapi",
  text: "This is a test email sent from Strapi using the ZeptoMail provider.",
  html: "<h1>Hello from Strapi</h1><p>This is a test email sent from Strapi using the ZeptoMail provider.</p>",
});
```

## Features

- Core Email Functionality: Send emails with `to`, `from`, `subject`, `text`, and `html` content.
- CC & BCC Support: Include `cc` and `bcc` recipients in your emails.
- Customizable Reply-To: Define a specific `replyTo` address for each email.
- Flexible "From" Field: Accommodates both `"Name <email>"` and plain email address formats in the `from` field.
- Extendable with Custom Parameters: Pass additional parameters directly to the ZeptoMail API using the `...rest` spread operator within the `options` object.

## Repository

Find comprehensive details and stay up-to-date on the GitHub repository: https://github.com/radiancegeorge/strapi-zeptomail

Important: Ensure you have Strapi v4 or later installed for compatibility.

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