diff --git a/message.go b/message.go index ec96838..07816b1 100644 --- a/message.go +++ b/message.go @@ -192,6 +192,7 @@ func (content *Content) ParseMIMEBody() *MIMEBody { var p []string if len(boundary) > 0 { p = strings.Split(content.Body, "--"+boundary) + p = p[1 : len(p)-1] logf("Got boundary: %s", boundary) } else { logf("Boundary not found: %s", hdr[0])