@strapi/provider-email-sendgrid 4.0.0 → 4.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -16
- package/package.json +3 -6
package/README.md
CHANGED
|
@@ -1,27 +1,24 @@
|
|
|
1
|
-
# strapi
|
|
1
|
+
# @strapi/provider-email-sendgrid
|
|
2
2
|
|
|
3
3
|
## Resources
|
|
4
4
|
|
|
5
|
-
- [
|
|
5
|
+
- [LICENSE](LICENSE)
|
|
6
6
|
|
|
7
7
|
## Links
|
|
8
8
|
|
|
9
9
|
- [Strapi website](https://strapi.io/)
|
|
10
|
-
- [Strapi
|
|
10
|
+
- [Strapi documentation](https://docs.strapi.io)
|
|
11
|
+
- [Strapi community on Discord](https://discord.strapi.io)
|
|
11
12
|
- [Strapi news on Twitter](https://twitter.com/strapijs)
|
|
12
13
|
|
|
13
|
-
## Prerequisites
|
|
14
|
-
|
|
15
|
-
You need to have the plugin `strapi-plugin-email` installed in you Strapi project.
|
|
16
|
-
|
|
17
14
|
## Installation
|
|
18
15
|
|
|
19
16
|
```bash
|
|
20
17
|
# using yarn
|
|
21
|
-
yarn add strapi
|
|
18
|
+
yarn add @strapi/provider-email-sendgrid
|
|
22
19
|
|
|
23
20
|
# using npm
|
|
24
|
-
npm install strapi
|
|
21
|
+
npm install @strapi/provider-email-sendgrid --save
|
|
25
22
|
```
|
|
26
23
|
|
|
27
24
|
## Configuration
|
|
@@ -45,13 +42,15 @@ npm install strapi-provider-email-sendgrid --save
|
|
|
45
42
|
module.exports = ({ env }) => ({
|
|
46
43
|
// ...
|
|
47
44
|
email: {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
45
|
+
config: {
|
|
46
|
+
provider: 'sendgrid',
|
|
47
|
+
providerOptions: {
|
|
48
|
+
apiKey: env('SENDGRID_API_KEY'),
|
|
49
|
+
},
|
|
50
|
+
settings: {
|
|
51
|
+
defaultFrom: 'myemail@protonmail.com',
|
|
52
|
+
defaultReplyTo: 'myemail@protonmail.com',
|
|
53
|
+
},
|
|
55
54
|
},
|
|
56
55
|
},
|
|
57
56
|
// ...
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@strapi/provider-email-sendgrid",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.1",
|
|
4
4
|
"description": "Sendgrid provider for strapi email",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"email",
|
|
@@ -37,14 +37,11 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@sendgrid/mail": "7.4.7",
|
|
40
|
-
"@strapi/utils": "4.0.
|
|
40
|
+
"@strapi/utils": "4.0.1"
|
|
41
41
|
},
|
|
42
42
|
"engines": {
|
|
43
43
|
"node": ">=12.x.x <=16.x.x",
|
|
44
44
|
"npm": ">=6.0.0"
|
|
45
45
|
},
|
|
46
|
-
"
|
|
47
|
-
"isProvider": true
|
|
48
|
-
},
|
|
49
|
-
"gitHead": "b181702f0202b2c6d645d42b195a831f25cd0b03"
|
|
46
|
+
"gitHead": "e2cd01e8c6cbfeba15ad7787e38b6eebcbb92221"
|
|
50
47
|
}
|