New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

coins-mail-daemon

Package Overview
Dependencies
Maintainers
2
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

coins-mail-daemon

Mail sending daemon using coins-mail

  • 1.1.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
decreased by-72.22%
Maintainers
2
Weekly downloads
 
Created
Source

coins-mail-daemon

coins-mail-daemon listens to a database specified in the loaded dbmap using Postgres notify events on the dd channel. Once coins-mail-daemon receives an event it grabs the last 1000 pieces of mail in the database and sends them using the supplied SMTP info.

Setup

The daemon requires a valid /coins/config/dbmap.json database mapping file to connect to a database. The daemon also looks for an optional file at /etc/coins-mail-daemon/config.json for email-related configuration. This overrides coins-mail-daemon's default internal configuration.

Configuration options

  • defaultRecipient <string>: Override to recipient email address for all emails
  • smtpConfig <Object>: Configuration for Nodemailer’s transport factory

Sample configurations

A development configuration:

{
  "smtpConfig": {
    "auth": {
      "user": "someuser",
      "pass": "somepass"
    }
  },
  "defaultRecipient": "someaddressyouwillalwayssendto@forever.com"
}

A production configuration:

{
  "smtpConfig": {
    "auth": {
      "user": "someuser",
      "pass": "somepass"
    }
  }
}

FAQs

Package last updated on 21 Aug 2017

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc