Strapi plugin logo for Zeptomail

Zeptomail

Send emails from Strapi through zeptomail.

Strapi provider email zeptomail

Send emails from Strapi through zeptomail.

Introduction

Zeptomail is a popular email service, which is among the best at delivering transactional mail messages.

If you want your Strapi users to reset passwords, receive email confirmation etc, look into Zeptomail.

Requirements

  1. Working Strapi v4 project
  2. A valid Zeptomail account
  3. Zeptomail url and Zeptomail token
  4. Configure email plugin in Strapi

The Steps to follow

1. Zeptomail account

Get a free acoount on zeptomail.com and send 100 mails per day for FREE. Verify your account and purchase credit to send more.

2. Installation

Use NPM

1npm i strapi-provider-email-zeptomail --save

Use Yarn

1yarn add strapi-provider-email-zeptomail

3. Configuration

Zeptomail credentials

Obtain the url and token from zeptomail account

Set environment variables

Add ZEPTOMAIL_URL and ZEPTOMAIL_TOKEN keys together with correspondig values to the .env file of your Strapi project.

Example on environment variables

1...
2ZEPTOMAIL_URL=value_from_your_zeptomail_account
3ZEPTOMAIL_TOKEN=value_from_your_zeptomail_account
4...

4. Enable email plugin

Edit ./config/plugins.js or create the plugins.js file in ./config directory if it doesn't exist.

The snippet below demonstrates how to achieve enabling the email plugin in Strapi. Replace me@example.com with your valid email address. For example, no-reply@domain.com

Notes:

  1. If you don't specify the defaultFrom, it will default to no-reply@strapi.io
  2. Replace the values in defaultFrom,defaultReplyTo,replyTo, and sender_name with your own valid values. These should have been set in Zeptomail

Email Configurations

KeySub-KeyValue
providerstrapi-provider-email-zeptomail
providerOptionsurlenv("ZEPTOMAIL_URL")
providerOptionsapiKeyenv("ZEPTOMAIL_TOKEN")

Email settings

KeyValue
defaultFromme@example.com
defaultReplyTome@example.com
replyTonoreply@example.com
sender_nameYour App name
1email: {
2    config: {
3        provider: "strapi-provider-email-zeptomail",
4        providerOptions: {
5            url: env("ZEPTOMAIL_URL"),
6            apiKey: env("ZEPTOMAIL_TOKEN"),
7        }
8    },
9    settings: {
10        defaultFrom: "me@example.com",
11        defaultReplyTo: "me@example.com",
12        replyTo: "noreply@example.com",
13        sender_name: "Your App name"
14    },
15}

Links

Zeptomail Email API documentation

Error codes documentation

Strapi documentation

How to support

  1. Send an issue
  2. Contribute code and documentation
  3. Buy me coffee => https://cutt.ly/bwEy0ejA

Install now

npm install strapi-provider-email-zeptomail

STATS

1 GitHub star3 weekly downloads

Last updated

477 days ago

Strapi Version

Unavailable

Author

github profile image for David Wampamba
David Wampamba

Related plugin

Email

Useful links

Create your own plugin

Check out the available plugin resources that will help you to develop your plugin or provider and get it listed on the marketplace.