This commit is contained in:
Tomas Dvorak
2025-05-28 09:07:19 +02:00
parent 41bb343f5c
commit d7669b8d00
+4 -4
View File
@@ -248,11 +248,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 := "[email protected]"
password := "7g}qznB5bj"
recipient := "[email protected]"
sender := "[email protected]"
password := "pnhkcsahbwsbpyqj"
recipient := "[email protected]"
m := gomail.NewMessage()
m.SetHeader("From", sender)