Change to more powerful mail library that especially adds a correct Date heeader for us.

This commit is contained in:
Gonne 2025-03-25 21:18:13 +01:00
parent 22a079e10f
commit a05407eba0
Signed by: Gonne
SSH key fingerprint: SHA256:J8w3ZCNyz9MoTLV+eU7YRTVw59NYig44i0IWhbsgQG8
4 changed files with 111 additions and 24 deletions

View file

@ -1,8 +1,3 @@
From: {{.Config.Mailer.FromName}}
To: {{.Request.OfficeHour.Tutor.Email}}
Subject: Sprechstunde {{if eq .Request.Action 0}}anlegen{{end}}{{if eq .Request.Action 1}}löschen{{end}}
Message-ID: {{.MessageId}}
Hallo {{.Request.OfficeHour.Tutor.Name}},
mit deiner Emailadresse soll eine Sprechstunde mit folgenden Daten {{if eq .Request.Action 0}}angelegt werden{{end}}{{if eq .Request.Action 1}}gelöscht werden{{end}}: