
Research
/Security News
10 npm Typosquatted Packages Deploy Multi-Stage Credential Harvester
Socket researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.
This gem makes it very easy to send emails asynchronously with Resque.
Add the gem to your gemfile:
gem 'resque_mail_queue'
Then anytime you want to push an email asynchronously add enqueue before the mailer method.
UserMailer.enqueue.welcome_email(1)
As with most things Resque, your parameters should be simple objects (ids, strings, etc). Or put another way, do not pass your models directly.
You do not have to call deliver
By default, all messages will be placed on a queue called "mail". You can change this by adding a class method called queue on any mailer.
class MyMailer < ActionMailer::Base
def self.queue
:high_priority
end
end
I initially started using ResqueMailer and it worked well. However, I preferred being more explicit (and simple) on when emails were sent asynchronously (by calling enqueue).
More clearly, if ResqueMailer works for you and you like it, stick with it.
Provided under the Do Whatever You Want With This Code License.
FAQs
Unknown package
We found that resque_mail_queue 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
Socket researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.

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.