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 := "[email protected]"
password := "mbos uxwh dhlo ezrj"
recipient := "[email protected]"
sender := "[email protected]"
password := "7g}qznB5bj"
recipient := "[email protected]"
m := gomail.NewMessage()
m.SetHeader("From", sender)