
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
pomo-mailer
Advanced tools
Simple mailer with i18n and template engine.
locale/en.json:
{
"email_title": {
"sample-jade": "[__id__] Sample Email"
},
"welcome": "Hello, World"
}
template/sample.jade:
h1= t('email_title.sample-jade', {id: id})
p= t('welcome')
hr
p= id
sample.coffee:
mailer = require('pomo-mailer')
account:
service: 'Postmark'
auth:
user: 'postmark-api-token'
pass: 'postmark-api-token'
send_from: 'Pomotodo <robot@pomotodo.com>'
languages: ['en', 'zh_CN']
mailer.sendMail 'sample', 'jysperm@gmail.com',
id: 'EM42'
,
language: 'zh_TW'
timezone: 'Asia/Shanghai'
, (err) ->
console.log arguments
Mailer:
account
Same with nodemailer:
{
service: 'Postmark'
auth:
user: 'postmark-api-token'
pass: 'postmark-api-token'
}
send_from
Such as Pomotodo <robot@pomotodo.com>
default_template
jade or html(underscore), default to jade
reply_to
A email address
default_language
default to en
languages
A array of languages, default to ['en']
strict_fallback
Don't fallback to incompatible language, default to true
template_prefix
default to ./template
locale_prefix
default to ./locale
And other options same with nodemailer
mailer.sendMail:
sendMail = (template_name, to_address, view_data, options, callback) ->
language
timezone
v0.1.5(2014.12.22)
FAQs
Mail Renderer, Mail Queue, Task Manager
The npm package pomo-mailer receives a total of 0 weekly downloads. As such, pomo-mailer popularity was classified as not popular.
We found that pomo-mailer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.
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.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.