We use the Aspose Words library to convert an EML/MSG to PDF inside Outlook, in a VSTO Addin project in .NET Framework 4.8.
The email in question arrived to a mailbox containing the “First Contact Safety Tip” option configured (that is, it displays a popup at the top of the email body that warns the user that the sender may not be reliable, as emails from that sender are not often received).
When converting the email body, the conversion result contains 6-7 pages with the banner relating to the “First Contact Safety Tip” option before displaying the related email text.
Could you please provide more details about the specific issue you are facing during the PDF conversion? Are there any error messages or specific behaviors you are observing?
@SIAV Could you please attach your input, output and expected output documents here for our reference? We will check the issue and provide you more information.
@SIAV Thank you for additional information. Unfortunately, the problem is not reproducible on my side. I used the following simple code for conversion: