Update email plugin config

This commit is contained in:
Cédric FAMIBELLE-PRONZOLA
2022-05-14 19:47:41 +04:00
parent 38922ea57e
commit f8a941c905
+9 -7
View File
@@ -1,12 +1,14 @@
module.exports = ({env}) => ({
email: {
provider: 'nodemailer',
providerOptions: {
host: env('SMTP_HOST', 'smtp.example.com'),
port: env('SMTP_PORT', 587),
auth: {
user: env('SMTP_USERNAME'),
pass: env('SMTP_PASSWORD'),
config: {
provider: 'nodemailer',
providerOptions: {
host: env('SMTP_HOST', 'smtp.example.com'),
port: env('SMTP_PORT', 587),
auth: {
user: env('SMTP_USERNAME'),
pass: env('SMTP_PASSWORD'),
}
}
},
settings: {