more debug
This commit is contained in:
parent
493715555d
commit
db052048b6
3
email.go
3
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)
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user