Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
@strapi/provider-email-sendgrid
Advanced tools
You need to have the plugin strapi-plugin-email
installed in you Strapi project.
# using yarn
yarn add strapi-provider-email-sendgrid
# using npm
npm install strapi-provider-email-sendgrid --save
Variable | Type | Description | Required | Default |
---|---|---|---|---|
provider | string | The name of the provider you use | yes | |
providerOptions | object | Provider options | yes | |
providerOptions.apiKey | object | Api key given to the function setApiKey. Please refer to @sendgrid/mail | yes | |
settings | object | Settings | no | {} |
settings.defaultFrom | string | Default sender mail address | no | undefined |
settings.defaultReplyTo | string | array | Default address or addresses the receiver is asked to reply to | no | undefined |
:warning: The Shipper Email (or defaultfrom) may also need to be changed in the
Email Templates
tab on the admin panel for emails to send properly
Path - config/plugins.js
module.exports = ({ env }) => ({
// ...
email: {
provider: 'sendgrid',
providerOptions: {
apiKey: env('SENDGRID_API_KEY'),
},
settings: {
defaultFrom: 'myemail@protonmail.com',
defaultReplyTo: 'myemail@protonmail.com',
},
},
// ...
});
FAQs
Sendgrid provider for strapi email
The npm package @strapi/provider-email-sendgrid receives a total of 1,787 weekly downloads. As such, @strapi/provider-email-sendgrid popularity was classified as popular.
We found that @strapi/provider-email-sendgrid demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.