send a weekly mail automatically
Find a file
nerf van nerfingen 480ffba3f9 added first readme
2022-11-14 11:59:04 +01:00
app removed unused imports from Main 2022-11-12 21:57:37 +01:00
.gitignore first working commit 2022-11-08 20:16:34 +01:00
CHANGELOG.md first working commit 2022-11-08 20:16:34 +01:00
choirMail.cabal some error handling and cleanup that comes with it 2022-11-12 16:18:11 +01:00
choirMail.nix some error handling and cleanup that comes with it 2022-11-12 16:18:11 +01:00
default.nix first working commit 2022-11-08 20:16:34 +01:00
flake.lock first working commit 2022-11-08 20:16:34 +01:00
flake.nix some error handling and cleanup that comes with it 2022-11-12 16:18:11 +01:00
LICENSE Initial commit 2022-11-06 14:10:15 +01:00
README.md added first readme 2022-11-14 11:59:04 +01:00

[TOC]

choirMail

send a weekly mail automatically

Building

Just run nix build.

Running

Just run the binary to send a mail, it requires exactly one parameter that points to a config file.

Configuration

The config file is a toml file, even though it as of now makes not really use of any toml features.

mailDomain   = "the domain of the smtp server to send messages with"
mailUser     = "the username on the smtp server"
mailPassword = "the passwond on the smtp server"
mailTo       = "the mail to send to"
mailFrom     = "the sender of the mail"
mailErrorTo  = "the address to send a mail to in case of error"

Develop

If you run nix develop you get a set up kakoune with an lsp. Be aware this depends on your local cabal cache.

TODO

  • Better E-Mail generation
  • Add the nix modules to the flake
  • Better Error handling
    • Find out which exceptions the SMTP module throws