Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@strapi/provider-email-nodemailer

Package Overview
Dependencies
Maintainers
9
Versions
1383
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@strapi/provider-email-nodemailer - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

7

package.json
{
"name": "@strapi/provider-email-nodemailer",
"version": "4.0.0",
"version": "4.0.1",
"description": "Nodemailer provider for Strapi 3",

@@ -59,6 +59,3 @@ "keywords": [

},
"strapi": {
"isProvider": true
},
"gitHead": "b181702f0202b2c6d645d42b195a831f25cd0b03"
"gitHead": "e2cd01e8c6cbfeba15ad7787e38b6eebcbb92221"
}

@@ -1,6 +0,6 @@

# strapi-provider-email-nodemailer
# @strapi/provider-email-nodemailer
## Resources
- [License](LICENSE)
- [LICENSE](LICENSE)

@@ -10,9 +10,6 @@ ## Links

- [Strapi website](https://strapi.io/)
- [Strapi community on Slack](https://slack.strapi.io)
- [Strapi documentation](https://docs.strapi.io)
- [Strapi community on Discord](https://discord.strapi.io)
- [Strapi news on Twitter](https://twitter.com/strapijs)
## Prerequisites
You need to have the plugin `strapi-plugin-email` installed in your Strapi project.
## Installation

@@ -22,6 +19,6 @@

# using yarn
yarn add strapi-provider-email-nodemailer
yarn add @strapi/provider-email-nodemailer
# using npm
npm install strapi-provider-email-nodemailer --save
npm install @strapi/provider-email-nodemailer --save
```

@@ -35,18 +32,22 @@

module.exports = ({ env }) => ({
// ...
email: {
provider: 'nodemailer',
providerOptions: {
host: env('SMTP_HOST', 'smtp.example.com'),
port: env('SMTP_PORT', 587),
auth: {
user: env('SMTP_USERNAME'),
pass: env('SMTP_PASSWORD'),
config: {
provider: 'nodemailer',
providerOptions: {
host: env('SMTP_HOST', 'smtp.example.com'),
port: env('SMTP_PORT', 587),
auth: {
user: env('SMTP_USERNAME'),
pass: env('SMTP_PASSWORD'),
},
// ... any custom nodemailer options
},
// ... any custom nodemailer options
settings: {
defaultFrom: 'hello@example.com',
defaultReplyTo: 'hello@example.com',
},
},
settings: {
defaultFrom: 'hello@example.com',
defaultReplyTo: 'hello@example.com',
},
},
// ...
});

@@ -53,0 +54,0 @@ ```

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc