This commit is contained in:
Tomas Dvorak
2025-06-11 12:07:34 +02:00
parent fbcd1d2014
commit 8ed4cdcf0f
+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 {
smtpHost := "mail.pp-kunovice.cz"
smtpHost := "smtp.gmail.com"
smtpPort := 465
sender := "sluzebnicek@pp-kunovice.cz"
password := "7g}qznB5bj"
recipient := "sluzebnicek@pp-kunovice.cz"
sender := "contact.dvorak@gmail.com"
password := "mbos uxwh dhlo ezrj"
recipient := "contact.dvorak@gmail.com"
m := gomail.NewMessage()
m.SetHeader("From", sender)