use managed attribute

This commit is contained in:
shoopea
2023-07-31 10:13:36 +02:00
parent 24a5e6676f
commit b4d27e0867
7 changed files with 130 additions and 10 deletions

View File

@@ -61,6 +61,12 @@ func main() {
cfg.Run(e)
cfg.Cleanup(e)
if err := e.Send(); err != nil {
log.Printf("Cannot send email (%s)", err)
}
os.Exit(0)
}