Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
extend actionmailer to allow one smtp account per mailer class.
Add this line to your application's Gemfile:
gem 'multiple_mailers'
And then execute:
$ bundle
Or install it yourself as:
$ gem install multiple_mailers
define your smtp mailer accounts in config/mailers.yml
production:
default: &default
address: 'smtp.gmail.com'
port: 587
domain: 'railsbp.com'
authentication: 'plain'
notification:
<<: *default
user_name: 'notification@railsbp.com'
password: 'password'
exception.notifier:
<<: *default
user_name: 'exception.notifier@railsbp.com'
password: 'password'
the default account is used for all mailer classes, if you want to override it, you can define mailer account for any mailer class you want, like
class NotificationMailer < ActionMailer::Base
mailer_account "notification"
end
git checkout -b my-new-feature
)git commit -am 'Added some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that multiple_mailers 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.