Add files via upload

This commit is contained in:
Tomáš Dvořák
2025-05-20 09:14:03 +02:00
committed by GitHub
parent 3649002ef2
commit 7d6829de36
+4 -4
View File
@@ -153,11 +153,11 @@ func handleSubmit(w http.ResponseWriter, r *http.Request) {
} }
func sendEmail(entry TripEntry, parsedDateStart, parsedDateEnd time.Time, czechMonths []string) error { func sendEmail(entry TripEntry, parsedDateStart, parsedDateEnd time.Time, czechMonths []string) error {
smtpHost := "smtp.gmail.com" smtpHost := "mail.pp-kunovice.cz"
smtpPort := 465 smtpPort := 465
sender := "[email protected]" sender := "[email protected]"
password := "pnhkcsahbwsbpyqj" password := "7g}qznB5bj"
recipient := "[email protected]" recipient := "[email protected]"
m := gomail.NewMessage() m := gomail.NewMessage()
m.SetHeader("From", sender) m.SetHeader("From", sender)