1.0.6 • Published 7 months ago

@vymalo/medusa-mail v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

MedusaJS Mail templates

This package provides a set of mail templates for MedusaJS. It is based on

  • email-templates
  • preview-email

Installation

npm install @vymalo/medusa-mail

or if using yarn

yarn add @vymalo/medusa-mail

Usage

To use this plugin, you should add it into the modules section of your MedusaJS configuration.

  modules: [
    ...
    {
      resolve: "@medusajs/medusa/notification",
      options: {
        providers: [
          {
            resolve: `@vymalo/medusa-mail`,
            id: "ssegning",
            options: {
              channels: ["email"],
              message: {
                from: "no-reply@vymalo.com",
              },
              send: process.env.NODE === "production",
              preview: false,
              transport: "smtp://localhost:1025",
            },
          },
        ],
      },
    },
    ...

The options are from the nodemailer package, so you can use any of the options from there.

1.0.6

7 months ago

1.0.5

7 months ago

1.0.4

7 months ago

1.0.2

7 months ago

1.0.3

7 months ago

1.0.1

8 months ago

1.0.0

8 months ago