strapi-provider-email-outlook
v0.5.0
Published
The Strapi Provider Email Outlook is a plugin designed to integrate Outlook email services seamlessly into your Strapi project. This plugin enables you to send emails directly from your Strapi application using Outlook's email service.
Downloads
6
Readme
Strapi Provider Email Outlook
The Strapi Provider Email Outlook is a plugin designed to integrate Outlook email services seamlessly into your Strapi project. This plugin enables you to send emails directly from your Strapi application using Outlook's email service.
Instalation
- Install the code from npm
# if you use npm
npm install strapi-provider-email-outlook
# if you use yarn
yarn add strapi-provider-email-outlook
- Add this code in your
./config/plugin.js
of your strapi
module.exports = ({ env }) => ({
// ...
email: {
config: {
provider: 'outlook',
providerOptions: {
client_id: env('OUTLOOK_CLIENT_ID'),
client_secret: env('OUTLOOK_CLIENT_SECRET'),
tenant_id: env('OUTLOOK_TENANT_ID'),
resource: env('OUTLOOK_RESOURCE', 'https://graph.microsoft.com'),
grant_type: env('OUTLOOK_GRANT_TYPE', 'client_credentials'),
},
settings: {
defaultFrom: '[email protected]',
defaultReplyTo: '[email protected]',
},
},
}
// ...
});
Environment Variables
OUTLOOK_CLIENT_ID=<client-id>
OUTLOOK_CLIENT_SECRET=<client-secret>
OUTLOOK_TENANT_ID=<tenant-id>
OUTLOOK_GRANT_TYPE=client_credentials
OUTLOOK_RESOURCE=https://graph.microsoft.com
Road Map
- Multiple Participants Support: Enable sending emails to multiple recipients.
- Reply: Implement functionality to reply emails
- Forward: Implement functionality to forward emails
Fork and Pull Requests
Feel free to fork this repository and make any changes or enhancements. If you've added features or fixed bugs, submit a pull request. Contributions are welcome!