I’m trying to send a test email from the strapi admin panel using the email plugin. I have configured a sendgrid email account and have the API key. I have added the API key to the .env file and updated the plugins.js in the config subdirectory with the data as shown below and saved it but when I click on Settings->EMAIL PLUGIN->Configuration from admin panel, the from and to emails from my plugins.js file are not shown, just the “Strapi no-reply@strapi.io” text. What am I missing/not doing correctly?
module.exports = ({ env }) => ({
email: {
provider: “sendgrid”,
providerOptions: {
apiKey: env(“SENDGRID_API_KEY”),
},
settings: {
defaultFrom: “noreply@thisismynoreplyemail.com”,
defaultReplyTo: “noreply@thisismynoreplyemail.com”,
},
},
});
This topic has been created from a Discord post (1261219279924105256) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord