diff --git a/email.go b/email.go index 8259953..9d1687e 100644 --- a/email.go +++ b/email.go @@ -20,6 +20,9 @@ type EmailConfig struct { } func SendMail(addr, from, subject, body string, to []string) error { + if *debugFlag { + log.Printf("SendMail : Start") + } r := strings.NewReplacer("\r\n", "", "\r", "", "\n", "", "%0a", "", "%0d", "") c, err := smtp.Dial(addr) diff --git a/version.go b/version.go index 3be5cbc..b4c7be6 100644 --- a/version.go +++ b/version.go @@ -1,6 +1,6 @@ // Code generated by version.sh (@generated) DO NOT EDIT. package main -var githash = "86ddd52" -var buildstamp = "2022-06-19_04:11:44" -var commits = "43" -var version = "86ddd52-b43 - 2022-06-19_04:11:44" +var githash = "4937155" +var buildstamp = "2022-06-19_04:13:42" +var commits = "44" +var version = "4937155-b44 - 2022-06-19_04:13:42"