Configuration of email provider
Sendgrid
- Login into Sendgrid (opens in a new tab)
- Go to
Settings
->Sender Authentication
->Domain Authentication
. - Follow instructions and verify the domain you want to use to send email from.

- Then navigate to
Settings
->API Keys
->Create API Key
. - Type api key name and in the modal window choose
Full Access
. ClickCreate & View
. - Copy the API key appeared on the screen to add it to environmental variables later.
In order to configure sendgrid, you need to set the following environment variables in Strapi (.env):
SENDGRID_API_KEY=''
DEFAULT_FROM_EMAIL=''
DEFAULT_FROM_EMAIL should be within the domain, you have configured and verified in sendgrid.
SMTP
Configuration in Strapi
After you have set the environment variables, you need to configure the email provider in Strapi.
- Go to the Strapi admin panel.
- Open
Content Manager
. - Under
Collection types
, click onEmailTemplate
. - Update each email template with the correct
subject
,fromName
, andfromEmail
. Make sure that fromEmail is configured in Sendgrid. - Update content of the email
template
based on the packages/email-templates folder in the repository. - DO NOT CHANGE
name
