A CLI tool to generate html emails. Using go-premailer and the go template engine.
-
Download the latest binary from the releases. If you don't find your required architecture or OS please follow the build instructions.
-
Create a directory structure like so:
buildtemplatespages
-
Run the binary, this builds html files in a build directory from each
*.gohtmlfile inside thepagesdirectory, make sure to run the binary from the root of the directory structure.
$ ./gomail-<os>-<arch>
- Git clone this repository.
cdintov2subdirectory.- Run
go build -o bin/gomail