
A third-party SMTP email provider for Strapi
The strapi-provider-email-smtp is a third-party SMTP email provider specifically designed for use with Strapi. It has been tested and verified to work seamlessly with Gmail's SMTP service.
To configure the strapi-provider-email-smtp, make changes to your config/plugins.js file as follows:
For Strapi version 4:
module.exports = ({ env }) => ({
email: {
provider: 'smtp',
providerOptions: {
host: 'smtp.gmail.com',
port: 587,
secure: false,
auth: {
user: env('SMTP_USERNAME'),
pass: env('SMTP_PASSWORD'),
},
defaultFrom: env('SMTP_SENDER'),
},
},
});
For Strapi version 3:
module.exports = ({ env }) => ({
email: {
provider: 'smtp',
providerOptions: {
host: 'smtp.gmail.com',
port: 587,
auth: {
user: env('SMTP_USERNAME'),
pass: env('SMTP_PASSWORD'),
},
defaultFrom: env('SMTP_SENDER'),
},
},
});
Note: To send emails via Gmail, make sure to allow 'Less Secure Apps' from your account security options.
The strapi-provider-email-smtp is a reliable and easy-to-use third-party SMTP email provider for Strapi. It offers seamless integration with Strapi and has been extensively tested with Gmail's SMTP service. With easy installation and configuration, this provider ensures smooth email delivery within your Strapi application.

Strapi is an open source headless CMS that provides a customizable content management system and API for your projects. It allows you to manage content in a visual interface and use a REST or GraphQL API to retrieve the data.