Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
nodemailer-unione-transport
Advanced tools
A transport module to use with nodemailer to leverage UniOne's REST API (http://www.unisender.com/?a=opencart)
nodemailer - это самый популярный node.js модуль для рассылки Email. А это transport-плагин, который позволят nodemailer'у отправлять письма через сервис почтовых рассылок UniOne. Сервис позволит вам не только осуществлять массовую рассылку без риска попасть в черный список SMTP, но и отслеживать доставку ваших писем.
var nodemailer = require('nodemailer');
var unione = require('unione-transport');
var options = {
auth: {
api_key: 'Уникальный API-ключ пользователя UniOne',
username: 'Логин пользователя в системе'
}
}
var nodemailerUnione = unione.createTransport(options);
nodemailerUnione.sendMail({
from_email: 'myemail@example.com', //Обратные адреса нужно зарегистрировать и подтвердить в Личном кабинете, или через API
from_name: 'John Dow', //Необязательный параметр
recipients: [ //До 500 адрессатов
{
"email": "some_email@domain.com"
"substitutions": //Необязательный параметр
{
"userName": "Ivan",
"to_name": "Ivan Petrov"
}
},
{
"email": "other_email@domain.com"
"substitutions":
{
"userName": "Nina",
"to_name": "Nina Pavlova"
}
}
],
subject: '{{userName}}, you are awesome!', //Всесто {{userName}} подставится строка из substitutions
body:
{
"html": "<b>Hello, {{userName}}</b>", //Должен присутствовать хотя бы один из параметров
"plaintext": "Hello, {{userName}}"
},
metadata: //Необязательный параметр
{
"mailId" : "3423452345234234" //Эти параметры будут переданы в Webhook
}
}, function (err, info) {
if (err) {
console.log('Error: ' + err);
}
else {
console.log('Response: ' + info);
}
});
FAQs
A transport module to use with nodemailer to leverage UniOne's REST API (http://www.unisender.com/?a=opencart)
The npm package nodemailer-unione-transport receives a total of 58 weekly downloads. As such, nodemailer-unione-transport popularity was classified as not popular.
We found that nodemailer-unione-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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.