do not parse inlines, fixes #28
This commit is contained in:
@@ -68,11 +68,7 @@ func (s *msasession) Data(r io.Reader) error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
attachments := s.parseAttachments(eml.Attachments)
|
files := s.parseAttachments(eml.Attachments)
|
||||||
inlines := s.parseAttachments(eml.Inlines)
|
|
||||||
files := make([]*utils.File, 0, len(attachments)+len(inlines))
|
|
||||||
files = append(files, attachments...)
|
|
||||||
files = append(files, inlines...)
|
|
||||||
|
|
||||||
email := utils.NewEmail(
|
email := utils.NewEmail(
|
||||||
eml.GetHeader("Message-Id"),
|
eml.GetHeader("Message-Id"),
|
||||||
|
|||||||
Reference in New Issue
Block a user