mirror of
https://git.nerfingen.de/nerf/choirMail.git
synced 2024-11-25 00:19:37 +00:00
added first readme
This commit is contained in:
parent
0417c90c31
commit
480ffba3f9
1 changed files with 34 additions and 1 deletions
33
README.md
33
README.md
|
@ -1,3 +1,36 @@
|
||||||
|
[TOC]
|
||||||
|
|
||||||
# choirMail
|
# choirMail
|
||||||
|
|
||||||
send a weekly mail automatically
|
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.
|
||||||
|
|
||||||
|
```toml
|
||||||
|
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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue