Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@openinc/parse-server-smtp-adapter
Advanced tools
Parse Server adapter for SMTP/nodemailer using nunjucks templates
Readme
A mail adapter for Parse Server, which uses nodemailer to send mails and nunjucks for templates.
npm i @openinc/parse-server-smtp-adapter
In your Parse Server config:
{
//...
"emailAdapter": {
"module": "@openinc/parse-server-smtp-adapter",
"options": {
// adapter config:
// the email "from" field
"from": "info@beispiel.de",
// (default: email) attribute of the Parse.User object, which will hold an email
"emailAttribute": "email",
// (default: language) attribute of the Parse.User object, which will hold an a language identifier
"languageAttribute": "language",
// Subject when sending password reset emails:
"subjectPasswordResetEmail": "Parse App: Password Reset",
// Or as an object, which will point from a language identifier to a string
// If you use an object, subjectPasswordResetEmail.default will be required
// as an identifier, which will be used, if no other object property matches the language identifier
"subjectPasswordResetEmail": {
"de": "Parse App: Passwort Zurücksetzen",
"default": "Parse App: Password Reset"
},
// Same as subjectPasswordResetEmail but for sending verification emails
"subjectVerificationEmail": "Parse App: Email Verification"
// Path to the template directory
// You need to create the following files
// - verificationEmail.txt
// - verificationEmail.html
// - passwordResetEmail.txt
// - passwordResetEmail.html
// The following variables are available in your templates:
// - link: Link to the password reset/email verification page
// - user: Parse.User object
// - language: Language identifier
"templateDir": "./views/emails",
// nodemailer config (https://nodemailer.com/smtp/):
// All options, that do not match the above options,
// will be passed to nodemailer.createTransport(options)
"host": "xxx",
"port": 465,
"secure": true,
"auth": {
"user": "xxx",
"pass": "xxx"
},
}
}
}
FAQs
Parse Server adapter for SMTP/nodemailer using nunjucks templates
The npm package @openinc/parse-server-smtp-adapter receives a total of 3 weekly downloads. As such, @openinc/parse-server-smtp-adapter popularity was classified as not popular.
We found that @openinc/parse-server-smtp-adapter demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.