From 62bf1ae33acc183d50cae0bf793645e210c6400f Mon Sep 17 00:00:00 2001 From: Winni Neessen Date: Sun, 13 Mar 2022 20:01:02 +0100 Subject: [PATCH] Fix SetEncoding() --- msg.go | 1 + 1 file changed, 1 insertion(+) diff --git a/msg.go b/msg.go index f97c596..d6e0a77 100644 --- a/msg.go +++ b/msg.go @@ -113,6 +113,7 @@ func (m *Msg) SetCharset(c Charset) { // SetEncoding sets the encoding of the Msg func (m *Msg) SetEncoding(e Encoding) { m.encoding = e + m.setEncoder() } // SetBoundary sets the boundary of the Msg