Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 943 Bytes

README.md

File metadata and controls

34 lines (21 loc) · 943 Bytes

VMI Newsletter

This repository contains a python script that can generate a newsletter-like .html document.

Prerequisites

You need to install python and install Pipenv. Pipenv is a tool that manages python dependencies in a virtualized environment.

After you have installed Pipenv, navigate into this folder and run:

pipenv install

Compiling a Newsletter

To compile a newsletter, run:

./mknewsletter.sh --date=Dec-2023

Date must be a directory within ./contents.

For more information, inspect the script or run:

pipenv run python ./mkmail.py --help

Sending the Newsletter

With most mail clients, you can simply open the resulting .html file (by default newsletter.html), select everything (press Cmd/Ctrl+A), copy (Cmd/Ctrl+C), and paste it (Cmd/Ctrl+V) in a new mail of your mail client of choice.