Skip to content

KSA-De-Biekorf/mails

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mailinglijsten utility

Running

go run ./cli
  • Running in a test environment (TST or GTU):
CLI_ENV=GTU go run ./cli
  • Running with log to STDOUT:
LOG_TO_STDOUT=1 go run ./cli

Bulding

GOOS=linux go build -o build/mails -ldflags="-s -w" ./cli

or

make

Example

mails send \
  --reply-to "Marie Jo <marie.jo@hotmail.com>" \
  --ban 1,5 \
  --subject "Waar ben ik?" \
  --message "Ik ben verdwenen.<br/>mvg,<br/>Marie Jo"