This commit is contained in:
Tomas Dvorak
2025-05-28 11:39:23 +02:00
parent a7da5ef25b
commit 44c53f4f76
2 changed files with 28 additions and 20 deletions
+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 := "smtp.gmail.com"
smtpHost := "mail.pp-kunovice.cz"
smtpPort := 465
sender := "contact.dvorak@gmail.com"
password := "mbos uxwh dhlo ezrj"
recipient := "contact.dvorak@gmail.com"
sender := "sluzebnicek@pp-kunovice.cz"
password := "7g}qznB5bj"
recipient := "sluzebnicek@pp-kunovice.cz"
m := gomail.NewMessage()
m.SetHeader("From", sender)