diff --git a/main.go b/main.go index 5d8db16..cbf98a6 100644 --- a/main.go +++ b/main.go @@ -273,6 +273,7 @@ type PostmarkBatchResult struct { } func sendMail(cfg Config, recipients []string, subject, contentHtml string) ([]PostmarkBatchResult, error) { + fmt.Printf("Sending batch [%d recipients]...", len(recipients)) from := cfg.FromAddress if cfg.FromName != "" { from = fmt.Sprintf("%s <%s>", cfg.FromName, cfg.FromAddress) @@ -322,6 +323,7 @@ func sendMail(cfg Config, recipients []string, subject, contentHtml string) ([]P fmt.Printf("Batch sent successfully, but failed to parse response from postmark.\n") return nil, nil } + fmt.Printf("Done.\n") return results, nil }