Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
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 807 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.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.