status-flare
A simple email status sender for systems with Node.js
Last updated 2 years ago by onebytegone .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install status-flare 
SYNC missed versions from official npm registry.

Status Flare

Build Status Coverage Status Dependency Status Dev Dependency Status

Setup

This utility can be installed via npm:

npm install -g status-flare

The config directory is located within the package. The path to the package can be found using:

npm list -g status-flare

If using Gmail as transport:

  1. Setup app password if needed (Help doc)

  2. Create the needed config file at config/custom-user.json:

    {
       "email": {
          "account": {
             "user": "statusflare@example.com",
             "pass": "PASSWORD"
          }
       }
    }
    
  3. (Optional) Add a from field under email.account

    "from": "\"Status Flare @ STATUSFLAREHOST\" <statusflare@example.com>",
    

Examples

Basic CLI usage

NODE_ENV=custom-user status-flare --to 'youremail@example.com' --subject 'Hello World' --body 'Status Flare is working'

Using stdin

echo "From stdin" | NODE_ENV=custom-user status-flare --to 'youremail@example.com' --subject 'Hello World' --body
'No data from stdin'

License

This is released under the MIT license. See LICENSE.md for more information.

Current Tags

  • 0.1.0                                ...           latest (2 years ago)

1 Versions

  • 0.1.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (7)
Dev Dependencies (10)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |