/sendeml

Send eml files

Primary LanguageGoMIT LicenseMIT

sendeml

GitHub go.mod Go version Build GitHub license

Command line tool to send eml files.

Install

> go get github.com/gonejack/sendeml

Config

Edit ~/.sendeml/smtp.json

# new config
> sendeml -p > ~/.sendeml/smtp.json

# edit
> vi ~/.sendeml/smtp.json

Usage

> sendeml *.eml
Usage:
  sendeml [-c smtp.json] [-f from] [-t address] *.eml [flags]

Flags:
      --from string      email address from
      --to string        email address to
  -c, --smtp string      smtp config (default "~/.sendeml/smtp.json")
  -p, --print-template   print smtp.json template
  -v, --verbose          verbose
  -h, --help             help for sendeml