summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYves Fischer <yvesf+git@xapek.org>2021-02-18 23:50:28 +0100
committerYves Fischer <yvesf+git@xapek.org>2021-02-18 23:50:28 +0100
commit62cba37229fb32baa1ee6f85c30aa200db1ce3ee (patch)
tree9df43cc0012c595b1298d3b54cb5a388f1e238d1
parent8a530eb8139e9cb235355b80d9cbfdaa6b2c2e43 (diff)
downloadsmtp-forward-62cba37229fb32baa1ee6f85c30aa200db1ce3ee.tar.gz
smtp-forward-62cba37229fb32baa1ee6f85c30aa200db1ce3ee.zip
missing brake
-rw-r--r--main.go1
1 files changed, 1 insertions, 0 deletions
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)