We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Regression - The From field is missing in the intermediate mhtml file when the msg file is converted to PDF


we are using aspose email when the attached msg file
is converted to PDF, The From field is missing in the intermediate mhtml file. It is a regression issue. It was working fine with aspose email 2.2.0

Please find the attachments…

Thanks & Regards,
Thirumurthy R

Hi Thirumurthy,

I have tried to reproduce this issue with the latest version of Aspose.Email for Java 3.2.0 and the following sample code, but was unable to face the issue as you have mentioned. Could you please try it at your end with this latest version and let us know your feedback?

Sample Code:

String dir = “EMAIL_488179\”;<o:p></o:p>

MailMessage mailMsg = MailMessage.load(dir + "D7 Overlay PSD issue.msg");

mailMsg.save(dir + "D7 Overlay PSD issue.mhtml", MailMessageSaveType.getMHtmlFormat(), MailMessageSaveOptions.WriteHeaderToMht);

In addition, the MailMessageSaveOptions.WriteCompleteEmailAddressToMht also forces the complete email address to be printed to the output MHTML where available.