Skip to content

gonejack/sendeml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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