hi ,
Do we have sample code for converting e-mail along with Attachments to PDF format using Java? I tried the following code and it is converting only the e-mail body to pdf.
EmailLoadOptions emailLoadOptions = new EmailLoadOptions();
emailLoadOptions.setDepth(2);
emailLoadOptions.setConvertOwned(true);
emailLoadOptions.setConvertOwner(true);
PdfConvertOptions options = new PdfConvertOptions();
Converter converter = new Converter(inputFileStream,emailLoadOptions);
int index=1;
converter.convert(outputPath + fileNameWithOutExtn + index++ + “.pdf”, options);
I am using 21.4 version of groupdocs-conversion. Appreciate your help.
We are investigating this scenario (converting an Email file with attachments). Your investigation ticket ID is CONVERSIONJAVA-1328. You’ll be notified in case of any update.
@Atir_Tahir we have a paid Enterprise license for Groupdocs for our company and we are using groupdocs conversion module for files conversion to PDF. We would like to know is there a feature to convert .msg and .eml files along with the attachments in to a PDF? We are using JAVA technology. Please let us know details. Thanks