0.0.6 • Published 1 year ago

@aibulat/sendeml v0.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

SendEml

Send raw eml files to SMTP server specified via env vars or .env file

Install

sudo npm i -g @aibulat/sendeml

Run via npx

npx @aibulat/sendeml@latest -h

Use

create .env file:

SMTP_HOST="smtp-server"
SMTP_PORT="25"
SMTP_USER=""
SMTP_PASS=""

LOG_DIR="./log"
LOG_LEVEL="info"
sendeml hsenddir -d ./queue/haraka --max 2 --moveDest ./queue/moved

Commands:

Commands:
  ping [options]      Test SMTP server by sending a generated message
  send [options]      Send eml file
  senddir [options]   Send eml files from a dir
  hsenddir [options]  Send eml files from a Haraka Queue dir
  hview [options]     View file from Haraka Queue dir
  ls [options]        List eml files in a dir
  help [command]      display help for command