This commit is contained in:
Tomas Dvorak
2025-06-11 12:11:32 +02:00
parent 8ed4cdcf0f
commit 9adb0f37cc
+4 -4
View File
@@ -681,11 +681,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 := "mbos uxwh dhlo ezrj" password := "7g}qznB5bj"
recipient := "[email protected]" recipient := "[email protected]"
m := gomail.NewMessage() m := gomail.NewMessage()
m.SetHeader("From", sender) m.SetHeader("From", sender)