@strapi/provider-email-nodemailer 4.6.0-beta.2 → 4.6.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 +24 -20
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -60,11 +60,13 @@ You can override the default configurations for specific environments. E.g. for
|
|
|
60
60
|
```js
|
|
61
61
|
module.exports = ({ env }) => ({
|
|
62
62
|
email: {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
63
|
+
config: {
|
|
64
|
+
provider: 'nodemailer',
|
|
65
|
+
providerOptions: {
|
|
66
|
+
host: 'localhost',
|
|
67
|
+
port: 1025,
|
|
68
|
+
ignoreTLS: true,
|
|
69
|
+
},
|
|
68
70
|
},
|
|
69
71
|
},
|
|
70
72
|
});
|
|
@@ -83,24 +85,26 @@ const nodemailerNTLMAuth = require('nodemailer-ntlm-auth');
|
|
|
83
85
|
|
|
84
86
|
module.exports = ({ env }) => ({
|
|
85
87
|
email: {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
88
|
+
config: {
|
|
89
|
+
provider: 'nodemailer',
|
|
90
|
+
providerOptions: {
|
|
91
|
+
host: env('SMTP_HOST', 'smtp.example.com'),
|
|
92
|
+
port: env('SMTP_PORT', 587),
|
|
93
|
+
auth: {
|
|
94
|
+
type: 'custom',
|
|
95
|
+
method: 'NTLM',
|
|
96
|
+
user: env('SMTP_USERNAME'),
|
|
97
|
+
pass: env('SMTP_PASSWORD'),
|
|
98
|
+
},
|
|
99
|
+
customAuth: {
|
|
100
|
+
NTLM: nodemailerNTLMAuth,
|
|
101
|
+
},
|
|
95
102
|
},
|
|
96
|
-
|
|
97
|
-
|
|
103
|
+
settings: {
|
|
104
|
+
defaultFrom: 'hello@example.com',
|
|
105
|
+
defaultReplyTo: 'hello@example.com',
|
|
98
106
|
},
|
|
99
107
|
},
|
|
100
|
-
settings: {
|
|
101
|
-
defaultFrom: 'hello@example.com',
|
|
102
|
-
defaultReplyTo: 'hello@example.com',
|
|
103
|
-
},
|
|
104
108
|
},
|
|
105
109
|
});
|
|
106
110
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@strapi/provider-email-nodemailer",
|
|
3
|
-
"version": "4.6.
|
|
3
|
+
"version": "4.6.1",
|
|
4
4
|
"description": "Nodemailer provider for Strapi 3",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"strapi",
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"node": ">=14.19.1 <=18.x.x",
|
|
57
57
|
"npm": ">=6.0.0"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "17a7845e3d453ea2e7911bda6ec25ed196dd5f16"
|
|
60
60
|
}
|