Skip to content

Command line email sending client written in Go.

License

Notifications You must be signed in to change notification settings

instoll/emailcli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Go Report Card

Emailcli

Because surprisingly, everything else out there just barely fails to be useful to me.

This utility does exactly one thing: wrap a Golang email library in a command line interface.

Install

go get github.com/wrouesnel/emailcli

Usage

email --username [email protected] --password somepassword \
    --host smtp.gmail.com --port 587 \
    --subject "Test mail" \
    --body "Test Body" [email protected]

For security, it also supports reading settings from environment variables:

export EMAIL_PASSWORD=somepassword
email --username [email protected] \
    --host smtp.gmail.com --port 587 \
    --subject "Test mail" \
    --body "Test Body" [email protected]

All command line variables can be used as environment variables by appending EMAIL_ to the parameter name and capitalizing.

About

Command line email sending client written in Go.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 83.7%
  • Makefile 16.3%