-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace custom mail provider with nodemailer plugin
- Loading branch information
1 parent
e412fa0
commit 9b3e771
Showing
6 changed files
with
15 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,13 @@ | ||
module.exports = ({ env }) => ({ | ||
email: { | ||
provider: 'lpemailer', | ||
provider: 'nodemailer', | ||
providerOptions: { | ||
host: env('SMTP_HOST', 'localhost'), | ||
port: env.int('SMTP_PORT', 25), | ||
secure: false, | ||
secureConnection: false, | ||
pool: false, | ||
debug: false, | ||
logger: true, | ||
maxConnections: 10, | ||
maxMessages: 100, | ||
rateDelta: 1000, | ||
ignoreTLS: true, | ||
auth: { | ||
user: env('SMTP_USERNAME', ''), | ||
pass: env('SMTP_PASSWORD', ''), | ||
}, | ||
tls: { | ||
rejectUnauthorized: false, | ||
}, | ||
}, | ||
settings: { | ||
defaultFrom: '"[DEV] Livraria e Papelaria Espaço" <[email protected]>', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
63 changes: 0 additions & 63 deletions
63
backend/providers/strapi-provider-email-lpemailer/index.js
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
backend/providers/strapi-provider-email-lpemailer/package.json
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8564,6 +8564,11 @@ [email protected]: | |
dependencies: | ||
nodemailer-fetch "1.6.0" | ||
|
||
[email protected]: | ||
version "6.6.1" | ||
resolved "https://registry.yarnpkg.com/nodemailer/-/nodemailer-6.6.1.tgz#2a05fbf205b897d71bf43884167b5d4d3bd01b99" | ||
integrity sha512-1xzFN3gqv+/qJ6YRyxBxfTYstLNt0FCtZaFRvf4Sg9wxNGWbwFmGXVpfSi6ThGK6aRxAo+KjHtYSW8NvCsNSAg== | ||
|
||
[email protected], nodemailer@^6.6.3: | ||
version "6.7.0" | ||
resolved "https://registry.yarnpkg.com/nodemailer/-/nodemailer-6.7.0.tgz#86614722c4e0c33d1b5b02aecb90d6d629932b0d" | ||
|
@@ -11571,6 +11576,14 @@ [email protected]: | |
dependencies: | ||
nodemailer "^6.4.6" | ||
|
||
strapi-provider-email-nodemailer@^3.6.8: | ||
version "3.6.8" | ||
resolved "https://registry.yarnpkg.com/strapi-provider-email-nodemailer/-/strapi-provider-email-nodemailer-3.6.8.tgz#203f27f2b4d6ace8eaa1db5151b8b177d29f5a71" | ||
integrity sha512-yvACKxB1F6Lyk5JvLsTquXgJVwYG0vTZEN4YiTPX3I1L5Df1Izzkjzm9pjZwu24ucGCmq9nNyLh688lG/6L1ow== | ||
dependencies: | ||
lodash "4.17.21" | ||
nodemailer "6.6.1" | ||
|
||
[email protected]: | ||
version "3.6.8" | ||
resolved "https://registry.yarnpkg.com/strapi-provider-email-sendmail/-/strapi-provider-email-sendmail-3.6.8.tgz#6b9f6db31dee6656e4f09fa20479bcb9b6abf87d" | ||
|