During parsing of one particular email one of the embedded images was qualified as an attachment, not as an embedded image (though actually it was an embedded image).
Not sure how this email was created, however debug showed that OutlookFileAttachmentlongFilename property was something like my-embedded-image.png when short file name was my-emb~1.png, while in the html body the image was referenced by its full name: src="cid:my-embedded-image.png". Probably we can change OutlookMessage#htmlContainsCID() method to check both filename and longFilename
Probably the same issue was reported earlier in #1
During parsing of one particular email one of the embedded images was qualified as an attachment, not as an embedded image (though actually it was an embedded image).
Not sure how this email was created, however debug showed that
OutlookFileAttachment
longFilename
property was something likemy-embedded-image.png
when short file name wasmy-emb~1.png
, while in the html body the image was referenced by its full name:src="cid:my-embedded-image.png"
. Probably we can changeOutlookMessage#htmlContainsCID()
method to check bothfilename
andlongFilename
Probably the same issue was reported earlier in #1