
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
smtp-mailer
Advanced tools
Mailazy NodeJs SDK Client
You need a sender/domain authenticated account in order to generate Access Keys from the Mailazy Console
npm:
npm install smtp-mailer
yarn:
yarn add smtp-mailer
const MailazyClient = require('smtp-mailer');
const client = new MailazyClient({
serviceType: "API", //SMTP,API
auth: {
user: '___mailazy_access_key___',
pass: '___mailazy_access_secret___'
}
});
const fn = async () => {
try {
const resp = await client.send({
from: "example@domain.com", // required, Use domain you verified
to: "test@example.com", // required, user comma (,) for multiple recipients
cc: "cc@domain.com", // optional, user comma (,) for multiple recipients
bcc: "bcc@domain.com", // optional, user comma (,) for multiple recipients
reply_to: "reply@domain.com", // optional
subject: 'test email from node.js app with attachment', // required
text: 'hello world!', // required
html: '<b>hello world</b>', // required
attachments: [ // optional
{
filename: 'hello.csv',
path: path.join(__dirname, `hello.csv`),
contentType: 'application/octet-stream'
}
]
});
console.log('resp: ' + resp);
} catch (e) {
console.log('error: ' + e);
}
};
fn();
const MailazyClient = require('smtp-mailer');
const client = new MailazyClient({
serviceType: "SMTP", //SMTP,API
auth: {
user: '___mailazy_access_key___',
pass: '___mailazy_access_secret___'
}
});
const fn = async () => {
try {
const resp = await client.send({
from: "example@domain.com", // required, Use domain you verified
to: "test@example.com", // required, user comma (,) for multiple recipients
cc: "cc@domain.com", // optional, user comma (,) for multiple recipients
bcc: "bcc@domain.com", // optional, user comma (,) for multiple recipients
reply_to: "reply@domain.com", // optional
subject: 'test email from node.js app with attachment', // required
text: 'hello world!', // required
html: '<b>hello world</b>', // required
attachments: [ // optional
{
filename: 'hello.csv',
path: path.join(__dirname, `hello.csv`),
contentType: 'application/octet-stream'
}
]
});
console.log('resp: ' + resp);
} catch (e) {
console.log('error: ' + e);
}
};
fn();
MIT © Mailazy
FAQs
Mailazy NodeJs SDK Client
The npm package smtp-mailer receives a total of 0 weekly downloads. As such, smtp-mailer popularity was classified as not popular.
We found that smtp-mailer 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.