Skip to content

small script to automate sending emails with mutt on a local system

Notifications You must be signed in to change notification settings

FuReSH/serienmail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a small script to automate sending emails to workshop participants with attachments (confirmation of participation).

Disclaimer: This small program is not very versatile, it expects mutt to be configured for sending out mails. It has only been tested with a mutt configuration that makes it possible to send mail without any manual interaction, e.g. entering a password.

Installation

The script expects mutt for sending out emails, plus the following Python packages: argparse, os, pandas, pathlib, shlex, subprocess, sys, yaml.

In order to install, clone the repository, install the Python packages, make sure to put the serienmail script into a folder that is in your PATH, and make it executable.

Usage

Run serienmail --init to write a plain configuration file in the working directory. Then define the variables given in the config file (see defaults in the config file comments). Write all participant information into a csv file with the columns: Name, Email, TN-Bestätigung (this is the filename). Then run the program again without the --init flag => Mails should be sent through the given mutt account.

Todo

  • simplify installation with Python poetry
  • build web application for workshop management, including registration, or start using moodle or any other system ready to go :)

About

small script to automate sending emails with mutt on a local system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages