We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62bf1ae commit 13f4c54Copy full SHA for 13f4c54
msgwriter.go
@@ -102,7 +102,7 @@ func (mw *msgWriter) newPart(h map[string][]string) {
102
// writePart writes the corresponding part to the Msg body
103
func (mw *msgWriter) writePart(p *Part, cs Charset) {
104
ct := fmt.Sprintf("%s; charset=%s", p.ctype, cs)
105
- cte := fmt.Sprintf("%s", p.enc)
+ cte := p.enc.String()
106
if mw.d == 0 {
107
mw.writeHeader(HeaderContentType, ct)
108
mw.writeHeader(HeaderContentTransferEnc, cte)
0 commit comments