From 62cba37229fb32baa1ee6f85c30aa200db1ce3ee Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Thu, 18 Feb 2021 23:50:28 +0100 Subject: missing brake --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index e561c1e..ef7440a 100644 --- a/main.go +++ b/main.go @@ -100,6 +100,7 @@ func forward(targetEmail string, data []byte) error { if err != nil { return errors.Wrap(err, `failed targetEmail send mail via smtp`) } + break } log.Printf("forwarded targetEmail=%v", targetEmail) -- cgit v1.2.1