mirror of
https://github.com/skoelle/calender_sync.git
synced 2026-09-17 18:20:24 +00:00
mailer weekly notifier
This commit is contained in:
@@ -72,6 +72,17 @@ Sendet täglich um konfigurierte Uhrzeit eine HTML-Email mit anstehenden Termine
|
||||
- Konfiguration über SMTP_* und NOTIFY_* Umgebungsvariablen
|
||||
- Funktionen: `get_today_events()`, `should_notify()`, `send_notification()`, `log_notification()`
|
||||
|
||||
### Wöchentliche E-Mail-Benachrichtigung (Vorab-Info)
|
||||
Sendet wöchentlich (standardmäßig Freitags) eine HTML-Email mit Terminen, die auf Suchbegriffe passen:
|
||||
- Sucht nach Begriffen in summary, description und location
|
||||
- Zeitraum: Samstag bis Freitag der nächsten Woche
|
||||
- Subject: Bei 1 Termin "Vorab-Info: Termin am Mo, DD.MM.", bei mehreren "Vorab-Info: X Termine nächste Woche"
|
||||
- Tracking via `weekly_notification_log` Tabelle (verhindert Doppelversand)
|
||||
- Nur Termine mit Uhrzeit (`all_day=0`), keine Ganztagstermine
|
||||
- Keine Email wenn keine Treffer
|
||||
- Konfiguration über WEEKLY_* Umgebungsvariablen
|
||||
- Funktionen: `parse_weekly_searchwords()`, `get_weekly_events()`, `should_send_weekly()`, `send_weekly_notification()`, `log_weekly_notification()`, `check_and_send_weekly_notification()`
|
||||
|
||||
## Entwicklung
|
||||
|
||||
### Lokaler Test (Docker)
|
||||
|
||||
Reference in New Issue
Block a user