status-flare
v0.1.0
Published
A simple email status sender for systems with Node.js
Downloads
3
Readme
Status Flare
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:
Setup app password if needed (Help doc)
Create the needed config file at
config/custom-user.json
:{ "email": { "account": { "user": "[email protected]", "pass": "PASSWORD" } } }
(Optional) Add a
from
field underemail.account
"from": "\"Status Flare @ STATUSFLAREHOST\" <[email protected]>",
Examples
Basic CLI usage
NODE_ENV=custom-user status-flare --to '[email protected]' --subject 'Hello World' --body 'Status Flare is working'
Using stdin
echo "From stdin" | NODE_ENV=custom-user status-flare --to '[email protected]' --subject 'Hello World' --body
'No data from stdin'
License
This is released under the MIT license. See LICENSE.md for more information.