valiant

command module
v0.0.0-...-9b04f54 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2015 License: Unlicense Imports: 7 Imported by: 0

README

valiant

A brave mail pigeon

Installation

Golang users can compile it using the following command:

go get github.com/elwinar/valiant

Others can just go to the releases page, select the last version, and download the cross-compiled version for their OS and architecture.

Usage

valiant --configuration ./path/to/the/configuration/file.json --body ./path/to/the/body/file.html --subject "Your subject here"

Simple, isn't it ? The configuration option in the command-line defaults to valiant.json.

The configuration file goes as follow:

{
	"server": {
		"tls": false,
		"host": "smtp.example.com",
		"port": 587,
		"user": "user@example.com",
		"password": "password"
	},
	"from": {
		"name": "User",
		"address": "user@example.com"
	},
	"to": [
		{
			"name": "Foo",
			"address": "foo@example.com"
		}
	]
}

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL