1.0.6 • Published 11 months ago

@vymalo/medusa-mail v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
11 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

11 months ago

1.0.5

11 months ago

1.0.4

11 months ago

1.0.2

11 months ago

1.0.3

11 months ago

1.0.1

12 months ago

1.0.0

12 months ago