Fix SetEncoding()

This commit is contained in:
Winni Neessen 2022-03-13 20:01:02 +01:00
parent 3261e4d2af
commit 62bf1ae33a
Signed by: wneessen
GPG key ID: 5F3AF39B820C119D

1
msg.go
View file

@ -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