@mondago/strapi-provider-email-msgraph
TypeScript icon, indicating that this package has built-in type declarations

2.0.2 • Public • Published

strapi-provider-email-msgraph

Microsoft Graph email provider plugin for Strapi 4.x.

Prerequisites

An app registration for the tenant with Mail.Send permission is required. You'll need:

  • Tenant ID
  • Client App ID
  • Client App Secret

Installation

This package is scoped so you'll need to add an alias to your package.json. Replace <version> with the version number of your choice (eg 2.0.0).

  "dependencies": {
    ...
    "strapi-provider-email-msgraph": "npm:@mondago/strapi-provider-email-msgraph@<version>"
    ...
  }

Then run either yarn or npm install (depending on which package manager you're using).

Configuration

To use this provider setup your config/plugins.js file:

module.exports = ({ env }) => ({
  email: {
    provider: "msgraph",
    providerOptions: {
      clientId: env("GRAPH_MAIL_CLIENT_ID"),
      clientSecret: env("GRAPH_MAIL_CLIENT_SECRET"),
      tenantId: env("GRAPH_MAIL_TENANT_ID"),
    },
    settings: {
      defaultFrom: "hello@example.com",
    },
  },
});

Support Matrix

Our Version Strapi Version
1.x.x 3.x
2.x.x 4.x

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.2
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.2
    2
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i @mondago/strapi-provider-email-msgraph

Weekly Downloads

2

Version

2.0.2

License

none

Unpacked Size

10.4 kB

Total Files

8

Last publish

Collaborators

  • kobandavis
  • danielyates-mondago
  • ianrobinson