@strapi/provider-email-nodemailer 4.6.0-beta.0 → 4.6.0-beta.2
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 +7 -10
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -112,16 +112,13 @@ module.exports = ({ env }) => ({
|
|
|
112
112
|
To send an email from anywhere inside Strapi:
|
|
113
113
|
|
|
114
114
|
```js
|
|
115
|
-
await strapi
|
|
116
|
-
.
|
|
117
|
-
.
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
text: 'Hello world',
|
|
123
|
-
html: `<h4>Hello world</h4>`,
|
|
124
|
-
});
|
|
115
|
+
await strapi.plugin('email').service('email').send({
|
|
116
|
+
to: 'someone@example.com',
|
|
117
|
+
from: 'someone2@example.com',
|
|
118
|
+
subject: 'Hello world',
|
|
119
|
+
text: 'Hello world',
|
|
120
|
+
html: `<h4>Hello world</h4>`,
|
|
121
|
+
});
|
|
125
122
|
```
|
|
126
123
|
|
|
127
124
|
The following fields are supported:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@strapi/provider-email-nodemailer",
|
|
3
|
-
"version": "4.6.0-beta.
|
|
3
|
+
"version": "4.6.0-beta.2",
|
|
4
4
|
"description": "Nodemailer provider for Strapi 3",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"strapi",
|
|
@@ -50,11 +50,11 @@
|
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"lodash": "4.17.21",
|
|
53
|
-
"nodemailer": "6.
|
|
53
|
+
"nodemailer": "6.8.0"
|
|
54
54
|
},
|
|
55
55
|
"engines": {
|
|
56
56
|
"node": ">=14.19.1 <=18.x.x",
|
|
57
57
|
"npm": ">=6.0.0"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "b852090f931cd21868c4016f24db2f9fdfc7a7ab"
|
|
60
60
|
}
|