Security News
RubyGems.org Adds New Maintainer Role
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.
nodemailer-direct-transport
Advanced tools
Applies for Nodemailer v1.x and not for v0.x where transports are built-in.
Install with npm
npm install nodemailer-direct-transport
Require to your script
var nodemailer = require('nodemailer');
var directTransport = require('nodemailer-direct-transport');
Create a Nodemailer transport object
var transporter = nodemailer.createTransport(directTransport(options))
Where
true
then logs to console. If value is not set or is false
then nothing is loggedExample
var transport = nodemailer.createTransport(directTransport({
name: 'smtp.example.com' // should be the hostname machine IP address resolves to
}));
Send callback includes the following arguments
Direct transport is very inefficient as it queues all e-mails to be sent into memory. Additionally, if a message is not yet sent and the process is closed, all data about queued messages is lost. Thus direct transport is only suitable for low throughput systems, where the message can be processed immediately.
While not being 100% reliable (remember - if process exits, entire queue is lost), direct transport can still handle sending errors, graylisting and such. If a message can not be sent, it is re-queued and retried later.
MIT
FAQs
Direct transport for Nodemailer
The npm package nodemailer-direct-transport receives a total of 29,858 weekly downloads. As such, nodemailer-direct-transport popularity was classified as popular.
We found that nodemailer-direct-transport 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
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.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.