From ebd8f94c1f28cbeb54145f11eb8dcdfbaf338fc8 Mon Sep 17 00:00:00 2001 From: Winni Neessen Date: Mon, 14 Mar 2022 15:30:41 +0100 Subject: [PATCH] Make GoLinter happy --- msg.go | 1 - 1 file changed, 1 deletion(-) diff --git a/msg.go b/msg.go index c878e33c..1394f7e2 100644 --- a/msg.go +++ b/msg.go @@ -485,7 +485,6 @@ func (m *Msg) WriteToSendmailWithContext(ctx context.Context, sp string, a ...st return fmt.Errorf("could not start sendmail execution: %w", err) } _, err = m.Write(si) - _, err = si.Write([]byte(".\r\n")) if err != nil { _ = si.Close() return fmt.Errorf("failed to write mail to buffer: %w", err)