
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
dpd-sparkpost-mail
Advanced tools
Simple integration of sparkpost mail with deployd
npm i dpd-sparkpost-mail --save
Go to your dashboard and create SparkpostMail resource and enter the requested info To send an email just call the post method of the mail resource you have created
dpd.sparkpostmail.post({
secret: 'sdfa7sda9f76s9af6',
from: '"From Someone" <from@example.com>',
to: 'to@example.com',
subject: 'Hakuna Matata',
html: '<h2>Aloha</h2><br>Don\'t worry, be happy'
delay_minutes: 30,
delay_hours: 1
}, function(result, error) {
console.log(error);
console.log(result);
});
delay_minutes and delay_hours are optional, the defautl value for this is 0. Set that values only if you want do schedule/delay the email delivery.
You can specify a template id and substitution data instead content
dpd.sparkpostmail.post({
to: 'to@example.com',
template_id: 'my-template-id',
substitution_data:{
key:value,
key2:value2,
}
}, function(result, error) {
console.log(error);
console.log(result);
});
substitution_data field is optional
Change sparkpostmail with your resource name
For any help post an issue or write to gustavo@chimera.digital
FAQs
Simple integration of sparkpost mail with deployd
We found that dpd-sparkpost-mail 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.