npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

strapi-provider-email-zeptomail

v0.1.6

Published

Zeptomail provider for strapi email

Downloads

20

Readme

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

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

Use Yarn

yarn 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

...
ZEPTOMAIL_URL=value_from_your_zeptomail_account
ZEPTOMAIL_TOKEN=value_from_your_zeptomail_account
...

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 [email protected] with your valid email address. For example, [email protected]

Notes:

  1. If you don't specify the defaultFrom, it will default to [email protected]
  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

| Key | Sub-Key | Value | | --------------- | ------- | ------------------------------- | | provider | | strapi-provider-email-zeptomail | | providerOptions | url | env("ZEPTOMAIL_URL") | | providerOptions | apiKey | env("ZEPTOMAIL_TOKEN") |

Email settings

| Key | Value | | -------------- | ------------------- | | defaultFrom | [email protected] | | defaultReplyTo | [email protected] | | replyTo | [email protected] | | sender_name | Your App name |

email: {
    config: {
        provider: "strapi-provider-email-zeptomail",
        providerOptions: {
            url: env("ZEPTOMAIL_URL"),
            apiKey: env("ZEPTOMAIL_TOKEN"),
        }
    },
    settings: {
        defaultFrom: "[email protected]",
        defaultReplyTo: "[email protected]",
        replyTo: "[email protected]",
        sender_name: "Your App name"
    },
}

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