We are in the procurement stage of the ASPOSE TOTAL licenses. While working on prototyping of some code to convert MSG format to PDF, we came across this article -
Inspired by this, we wrote code to do the conversion in the similar manner. It is showing strange behavior when the code is run in Windows (standalone prototype) as compared to Linux (prototype in test environment on cloud).
The inline images in the mail are not captured and are shown as red cross.
The version of aspose-email used is 21.12
What is also more intriguing is that the article talks about external attachments not part of the conversion.
An email message can contain attachments as well. Since each attachment can be of different media type, Aspose.Email ignores these attachments while converting to MHTML i.e. only inline images in a message will be part of MHTML and any regular attachments will be ignored.
However we have images in the attachment, which got captured and is shown correctly in the converted file. the second image attachment is not shown (perhaps due to restriction in the evaluation version - you could confirm)
Here are the sample snapshots of the converted PDF and the actual mail file used for the tests.
Test.zip (489.5 KB)