
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
@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.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.