
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
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 0 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
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.