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

Free Support Forum - groupdocs.com

MSG to PDF conversion, resultant document lacks some pages using Java

Hi

Used below code for .msg to pdf conversion and found that some of the contents are missed . When I try with HTML able to see the missed content as well as when we do online conversion able to see the missing content

Please advise . Also please help to share the code
PdfConvertOptions options = new PdfConvertOptions();
converter.convert(convertedFile, options);

Looks like licence issue

Then how to apply API license for conversion after mentioning licence path ?

License license = new License();
license.setLicense(licensePath);

1 Like

@sudarshanbr

Do you get evaluation watermark in the resultant file? Please have a look at API evaluation limitations.

Yes, that is how we apply license.
If you are still facing this issue (even after applying license properly), could you please share the problematic MSG file? Also, please specify the API version that you are using (e.g. 20.10, 21.1).

Thanks. Able to convert with more than 3 pages. As licence stream api was required to be added

@sudarshanbr

Alright. You are welcome.