do not parse inlines, fixes #28
This commit is contained in:
parent
a73735d849
commit
7e92c023c8
1 changed files with 1 additions and 5 deletions
|
|
@ -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"),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue