From 0e9bd5d416bc8b8bde69d02608fb0c103e0d2dff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Dvo=C5=99=C3=A1k?= <150935816+Dvorinka@users.noreply.github.com> Date: Thu, 22 May 2025 12:35:34 +0200 Subject: [PATCH] Add files via upload --- main.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main.go b/main.go index a4af60b..10340ae 100644 --- a/main.go +++ b/main.go @@ -188,11 +188,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 := "pnhkcsahbwsbpyqj" + recipient := "contact.dvorak@gmail.com" m := gomail.NewMessage() m.SetHeader("From", sender)