feat: parse most header values

This commit is contained in:
James Houlahan
2020-07-02 12:50:09 +02:00
parent 953150cfdb
commit 45b863f931
5 changed files with 147 additions and 658 deletions

View File

@ -68,7 +68,7 @@ func (im *imapMailbox) CreateMessage(flags []string, date time.Time, body imap.L
// Called from go-imap in goroutines - we need to handle panics for each function.
defer im.panicHandler.HandlePanic()
m, _, _, readers, err := message.Parse(body, "", "")
m, _, _, readers, err := message.Parse(body)
if err != nil {
return err
}