Hi,
i want to convert HTML eMails from MSG to PDF.
the result looks more like the original but not out.
I have attach a sample MSG File.
I use the following Code.
string FullOutputFileName = TmpPath + "\\" + TmpGuid + "-" + String2Filename(Item.Subject.ToString() + ".MSG");
Item.SaveAs(FullOutputFileName, Outlook.OlSaveAsType.olMSGUnicode);
MailMessage mm = MailMessage.Load(FullOutputFileName, MessageFormat.Msg);
MemoryStream mhs = new MemoryStream();
mm.Save(mhs, MailMessageSaveType.MHtmlFromat);
mhs.Position = 0;
Document doc = new Document(mhs);
doc.SaveToPdf(FullOutputFileName + ".PDF");
Best Regards
Thomas
Hi Thomas,
Thank you for inquiry.
I checked the MSG to MHT conversion with your sample file and it seems to be similar to the original. However, there is some problem in MHT to PDF conversion, which is done using Aspose.Words for .NET. I have moved the thread in Aspose.Words forum and the developers there will reply soon regarding this.
Hi
Thanks for your request. I managed to reproduce the problem on my side. Your request has been linked to the appropriate issue. You will be notified as soon as it is resolved.
Best regards,
could the problem be solved already
Hi
Thanks for your inquiry. Unfortunately, the issue is still unresolved. We will let you know once there is some progress with this issue. My apologizes for inconvenience.
Best regards.
The issues you have found earlier (filed as WORDSNET-3769) have been fixed in this .NET update and this Java update.
This message was posted using Notification2Forum from Downloads module by aspose.notifier.
The issues you have found earlier (filed as ) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by MuzammilKhan