From 1feb124a5b268cea633396d9e77b23230a973058 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:36:54 +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 10340ae..a4af60b 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 := "smtp.gmail.com" + smtpHost := "mail.pp-kunovice.cz" smtpPort := 465 - sender := "contact.dvorak@gmail.com" - password := "pnhkcsahbwsbpyqj" - 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)