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.
upnode-cluster-smtp
Advanced tools
Readme
Plugin for upnode-cluster, adds methods for handling distributed email messaging
npm install upnode-cluster upnode-cluster-smtp -S
var Node = require('upnode-cluster');
var SMTPResources = require('upnode-cluster-smtp');
var resources = {};
SMTPResources.init(resources, {
gmail_oauth_appid: {
clientId: '',
clientSercret: ''
}
}, function prepareEmail(rawNodemailerOpts) {
// will be preprocessed on the node locally
});
var node = new Node({
// ...
resources: resources
});
// then you can use it
var opts = {
provider: 'gmail',
user: 'support@ark.com',
type: 'oauth',
credentialsResourceName: 'gmail_oauth_appid',
credentials: {
refreshToken: '<refresh token>',
accessToken: '<access token>'
}
};
var self = this;
var nodeId = this.node.server.id;
node.acquireResource('email@example.com', 'SMTP', opts).then(function (resourceHolderId) {
var nodemailerOpts = {}; // whatever nodemailer accepts
return self.callResource(resourceHolderId, 'email@example.com', 'SMTP', { email: nodemailerOpts, options: opts });
}).nodeify(function (err, response) {
// either that or promises
});
FAQs
Provides 2 pluggable RPC calls: one generates smtp pool, and the other is responsible for generating smtp access credentials cache
The npm package upnode-cluster-smtp receives a total of 6 weekly downloads. As such, upnode-cluster-smtp popularity was classified as not popular.
We found that upnode-cluster-smtp 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.