Skip to content

Mailman is a simple client application for generating html emails from markdown files and sending them using an email server.

License

Notifications You must be signed in to change notification settings

riconem/mailman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mailman

Mailman is a simple client application for generating html emails from markdown files and sending them using an email server.

Dependencies

This project uses the following dependencies:

Installation

Install all go dependencies by running the following command.

go install

Usage in Go

You need to define a config file in yaml format and a markdown file as email. View the example config files in the examples directory.

Shows the help message for the application.

go run mailman -h

Generates a custom html file from a markdown File and a html template.

go run mailman --config ./examples/ua-service.yaml generate

Send the custom email as html file.

go run mailman --config ./examples/ua-service.yaml send

Build

Build the project by running the following command for a desired platform.

export GOOS=linux
export GOARCH=amd64
go build -o mailman-linux-amd64

Usage as Executable

Copy the executable to the desired location and make it executable.

chmod +x mailman-linux-amd64
mv mailman-linux-amd64 ~/.local/bin/mailman

Shows the help message for the application.

mailman -h

About

Mailman is a simple client application for generating html emails from markdown files and sending them using an email server.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages