I am sorry, I could not get your point clearly. Could you please also post a sample MSG file?
I checked the VS project and converted a message which had inline images and regular attachments, but the output PDF was same with or without the following 3 methods:
Please find attached Email with attachments txt doc png .zip
This MSG contains one PNG outline attachment. We would like it to appear as file name in the header of the extracted mail message but not being displayed as image in the footer.
Hence we now remove it and add new empty files with the same names to the message (our hack, the 3 lines).
Please try this MSG with and without the 3 lines - I hope the difference will appear.
Thanks for posting the sample message. I got your point. This is due to the conversion from MSG to MHTML format. It by default includes all text, formatting and embedded images. But, it also includes known outline attachments e.g. txt and images, so such attachments are appended at the end of the MHTML file. And when Aspose.Words load and convert this file, the outline attachments also show in the resulting PDF.
You may check the MHTML by saving it to disk and opening in a browser. msg.Save(“test.mhtml”, MailMessageSaveType.MHtmlFromat);
You already came up with a good workaround, that is, remove outline attachments and add 0 byte with same names.
Another solution would be to customize the MSG to MHTML conversion, perhaps a boolean property like MailMessage.AddOutlineAttachmentsToMhtml. I will discuss this issue with the developers and see what can be done at our end.
The issues you have found earlier (filed as 29496 ) have been fixed in [this update](http://www.aspose.com/community/files/51/.net-components/aspose.network-for-.net/entry325827.aspx).