tpalmie
October 20, 2020, 10:32am
1
I’m trying to convert .eml to .docx but I cannot find the Aspose.Email.SaveOptions.DefaultDocx.
Any ideas?
@tpalmie
There is no direct mechanism to save EML to DOCX. You need to first save EML to MHTL using Aspose.Email and then load that using Aspose.Words and saving that as DOCX or PDF.
Hi,
It seems when converting a msg file that contains an image(s) with text to PDF via MHTML, the image overlay the text. Which makes it look like the text is cut-off. I have attached the original file and the output file to show the output (RETitleReport-BAD.pdf). Also here a sample of my code.
using (var mail = MailMessage.Load(Options.SourceFile))RE title report2.zip (178.4 KB)
{
// since there is no direct conversion from MailMessage to PDF, we have to create a temp MHTML file
using(var…