strapi-provider-email-aliyunluke

1.0.2 • Public • Published

strapi-provider-email-aliyunluke

In the strapi email, use the aliyun provider.

Installation

In the root directory of your project, run:

npm i strapi-provider-email-aliyunluke

Configuration

In your config/plugins.js, set the following:

Strapi v4:

module.exports = ({ env }) => ({
  email: {
    config: {
      provider: "strapi-provider-email-aliyungd",
      providerOptions: {
        accessKeyId:  ** ,// change
        accessKeySecret: ** ,// change
        endpoint: "dm.aliyuncs.com",
      },
      settings: {
        FromAlias: ** // change
        AccountName: **, // change
        AddressType: 0,
        ReplyToAddress: false,
        ClickTrace: "1",
        TagName: **, // chang
        replyAddressAlias: **, // chang
        debug: true, // change
      },
    },
  },
});

Don't forget to allow 'Less Secure Apps' from account security options, if sending via Gmail.

Resources

MIT License

Readme

Keywords

none

Package Sidebar

Install

npm i strapi-provider-email-aliyunluke

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

5.59 kB

Total Files

5

Last publish

Collaborators

  • lukegd