parent
5dc0d0b2e8
commit
fdc51440c3
|
@ -174,7 +174,7 @@ func (mbox *mailbox) attachmentBody(att *protonmail.Attachment) (io.Reader, erro
|
||||||
func inlineHeader(msg *protonmail.Message) message.Header {
|
func inlineHeader(msg *protonmail.Message) message.Header {
|
||||||
var h mail.InlineHeader
|
var h mail.InlineHeader
|
||||||
if msg.MIMEType != "" {
|
if msg.MIMEType != "" {
|
||||||
h.SetContentType(msg.MIMEType, nil)
|
h.SetContentType(msg.MIMEType, map[string]string{"charset": "utf-8"})
|
||||||
} else {
|
} else {
|
||||||
log.Println("Sending an inline header without its proper MIME type")
|
log.Println("Sending an inline header without its proper MIME type")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue