
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
@trycake/ms-email-service
Advanced tools
npm install
npm run eslint
npm run test
npm run build
cp package.json README.md build/
npm publish
"@trycake/ms-email-service": "<version>"
npm install
import { EmailService } from '@trycake/ms-email-service';
Email service will expose configure() and sendMail() to use in MSs
Provide email configs as a input to configure()
emailConfigs = {
url: http://xxx-email.leapset.com/api/xml, //Required
from: abc@syscoLabs.com, //Required
toAddreses: [cde@syscoLabs.com], //Required
bccAddreses: [efg@syscoLabs.com], //Optional
}
Provide email data as a input to sendMail()
emailData = {
subject: 'Test', //Required
message: 'Message from The Sysco Labs Team.', //Required
attachmentName: 'attachment.pdf', //Optional
attachmentData: '<base64 encoded file data>', //Optional
url: http://xxx-email.leapset.com/api/xml, //Optional
from: abc@syscoLabs.com, //Optional
toAddreses: [cde@syscoLabs.com], //Optional
bccAddreses: [efg@syscoLabs.com], //Optional
}
Handle success and error accordingly
sendMail(emailData).then((response) => {
// Succeed
}).catch((e) => {
// Error
});
FAQs
Email service implemented to notify MS actions
The npm package @trycake/ms-email-service receives a total of 0 weekly downloads. As such, @trycake/ms-email-service popularity was classified as not popular.
We found that @trycake/ms-email-service demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers 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
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.