We have an application the uses Aspose.Email for .NET version 17.4 to render email messages as HTML, then converts the HTML to a Word Document and then a PDF document.
One of our clients reported an issue with the application not rendering an embedded image in the output PDF file. The image is inserted into the email by taking a screenshot using the Windows Snipping Tool, copying the image, and saving it into the email. When debugging the code, I noticed that the HTML file that is being loaded from the .EML file is not being rendered on the webpage. This is understandable since a web browser is not going to be able to know how to render an image with a source attribute that contains “cid:” in the beginning. However, we’d still like to be able to render these images in a PDF document.
I followed the instructions based on the following forum posts, but none of them resolved the issue:
Let me know what other code samples I could try with that version and what other information I can send to help diagnose the issue.
If you would like some sample code and the sample email that fails, please let me know. Thanks!