Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
storj-service-mailer
Advanced tools
Email dispatcher and templates for various Storj services.
npm install storj-service-mailer --save
var StorjMailer = require('storj-service-mailer');
var mailer = new StorjMailer({
host: '127.0.0.1',
port: 465,
secure: true,
auth: {
user: 'username',
pass: 'password'
},
from: 'robot@storj.io'
});
mailer.dispatch('<to_email_address>', '<template_name>', {
template: 'variables',
go: { in: 'here' }
}, function(err) {
// Mail sent!
});
To add a new email template to this package, see the templates/
directory.
Choose a new name for the template and create 3 files:
templatename.subject
- Contains plain text subject text (hbs supported)templatename.txt
- Contains plain text email body (hbs supported)templatename.html
- Contains HTML formatted email body (hbs supported)Once these files are added to the templates directory, you can reference them
by templatename
when calling Mailer#dispatch
.
Storj Service Mailer - Email dispatcher for various Storj services
Copyright (C) 2016 Storj Labs, Inc
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.
FAQs
email dispatcher and templates for storj services
The npm package storj-service-mailer receives a total of 15 weekly downloads. As such, storj-service-mailer popularity was classified as not popular.
We found that storj-service-mailer demonstrated a not healthy version release cadence and project activity because the last version was released 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
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.