more debug

This commit is contained in:
shoopea 2022-06-19 12:13:52 +08:00
parent 493715555d
commit db052048b6
2 changed files with 7 additions and 4 deletions

View File

@ -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)

View File

@ -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"