Skip to content

Embeddable notifications engine that relies on MongoDB for job queuing and scheduling. Powered by rschmukler/agenda

License

Notifications You must be signed in to change notification settings

MareAtlantica/notifier

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DemocracyOS Notifier

Embeddable notifications engine that relies on MongoDB for job queuing and scheduling. Powered by rschmukler/agenda

Mailer Configuration

Uses NodeMailer package for email handling. Available services are the ones listed on the nodemailer-wellknown repo.

SendGrid Example

var notifier = require('democracyos-notifier')({
  mailer: {
    service: 'sendgrid',
    auth: {
      user: '[email protected]',
      pass: 'fake-sendgrid-pass'
    }
  }
})

Gmail Example

var notifier = require('democracyos-notifier')({
  mailer: {
    service: 'gmail',
    auth: {
      user: '[email protected]',
      pass: 'fake-gmail-pass'
    }
  }
})

Direct Transport Example

Not recommended for production. Using direct transport is not reliable as outgoing port 25 used is often blocked by default. Additionally mail sent from dynamic addresses is often flagged as spam. You should really consider using a SMTP provider.

var notifier = require('democracyos-notifier')()

About

Embeddable notifications engine that relies on MongoDB for job queuing and scheduling. Powered by rschmukler/agenda

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 96.4%
  • HTML 3.6%