System Information
- Strapi Version: 4.0.0
- Operating System: linux
- Database:
- Node Version: 14.18.2
- NPM Version: 6.14.15
- Yarn Version:
In Email settings —> fields seems to be disabled
How to enable this
Installed strapi nodemailer & created plugins.js inside the config folder. Added below code inside the plugins.js
module.exports = ({
env
}) => ({
email: {
provider: 'nodemailer',
providerOptions: {
host: env('SMTP_HOST', 'xxxx'),
port: env('SMTP_PORT', xx),
auth: {
user: env('SMTP_USERNAME'),
pass: env('SMTP_PASSWORD'),
},
},
settings: {
defaultFrom: 'xxxx@gmail.com',
defaultReplyTo: 'xxxx@gmail.com',
},
},
})
But not getting the email-settings from plugins.js
Please advise me a solution for this