diff --git a/email.go b/email.go index 7ad606e..fbe20d5 100644 --- a/email.go +++ b/email.go @@ -28,7 +28,7 @@ func SendMail(addr, from, subject, body string, to []string) error { c, err := smtp.Dial(addr) if err != nil { if *debugFlag { - log.Printf("SendMail : smtp.Dial (%s)", err) + log.Printf("SendMail : %s : smtp.Dial (%s)", addr, err) } return err } @@ -37,7 +37,7 @@ func SendMail(addr, from, subject, body string, to []string) error { if err = c.Mail(r.Replace(from)); err != nil { if *debugFlag { - log.Printf("SendMail : client.Mail (%s)", err) + log.Printf("SendMail : %s : client.Mail (%s)", from, err) } return err } @@ -46,7 +46,7 @@ func SendMail(addr, from, subject, body string, to []string) error { to[i] = r.Replace(to[i]) if err = c.Rcpt(to[i]); err != nil { if *debugFlag { - log.Printf("SendMail : client.Rcpt (%s)", err) + log.Printf("SendMail : %s : client.Rcpt (%s)", to[i], err) } return err } diff --git a/version.go b/version.go index 0313f71..6998871 100644 --- a/version.go +++ b/version.go @@ -1,6 +1,6 @@ // Code generated by version.sh (@generated) DO NOT EDIT. package main -var githash = "db05204" -var buildstamp = "2022-06-19_04:18:29" -var commits = "45" -var version = "db05204-b45 - 2022-06-19_04:18:29" +var githash = "f3abe27" +var buildstamp = "2022-06-19_04:20:21" +var commits = "46" +var version = "f3abe27-b46 - 2022-06-19_04:20:21"