strapi-provider-email-mailersend-v2
v0.0.6
Published
Custom Strapi Provider Plugin For Email Using MailerSend
Maintainers
Readme
Strapi Provider Email MailerSend v2
Welcome to the Strapi Provider Email MailerSend v2 repository!
Table of Contents
Installing
Using npm:
npm install strapi-provider-email-mailersend-v2Using yarn:
yarn add strapi-provider-email-mailersend-v2Using pnpm:
pnpm add strapi-provider-email-mailersend-v2Usage
Configure the provider in your Strapi project:
module.exports = {
// ...
email: {
provider: 'strapi-provider-email-mailersend-v2',
providerOptions: {
apiKey: 'your-api-key', // Required
},
settings: {
defaultFrom: '[email protected]', // Default sender email
defaultReplyTo: '[email protected]', // Default reply-to email
},
},
// ...
};Environment Variables
Alternatively, configure the provider using environment variables:
MAILERSEND_API_KEY- API key for authentication with MailerSend (default:undefined).MAILERSEND_DEFAULT_FROM- Default sender email address.MAILERSEND_DEFAULT_REPLY_TO- Default reply-to email address.
To obtain your API key, follow the instructions in the MailerSend documentation.
License
This repository is licensed under the MIT License. You are free to use, modify, and distribute the scripts as long as you include the original license text.
