According to the documentation provided at:
it should be relatively easy to load an EML file and then save it as a PDF.
However, when I try to implement the code, I do not get ‘DefaultPdf’ as a valid save option.
Here is my code:
// Activate the Aspose temporary license Aspose.Email.License licenseEmail = new Aspose.Email.License(); licenseEmail.SetLicense("Aspose.Total.NET.lic"); // Load EML/MHTML/MSG file as MailMessage Aspose.Email.MailMessage message = Aspose.Email.MailMessage.Load(filePathSource); // Save Message as a PDF message.Save(filepathTarget, Aspose.Email.SaveOptions.DefaultPdf);