0.1.6 • Published 2 years ago

send-universal-notification-to-email v0.1.6

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

send-universal-notification-to-email

Command-line UniversalNotification to email forwarder.

Install

npm install -g send-universal-notification-to-email
# or
yarn global add send-universal-notification-to-email

Install from source

yarn install
yarn build
yarn global add "file:$(pwd)"

Usage

send-universal-notification-to-email parses the text stream line by line from stdin.

echo '{ "message": "Hello World" }' | send-universal-notification-to-email \
  --host 'smtp.example.com' \
  --port '465' \
  --secure \
  --username 'username' \
  --password 'password' \
  --sender 'sender@server.com' \
  --recipient 'recipient1@server.com' \
  --recipient 'recipient2@server.com'