We are currently trying to archive E-Mails (.msg files from MS Outlook) while retaining the original files from the E-Mail attachments.
The available tutorial Email Formats Conversion Tutorials for GroupDocs.Conversion Java | GroupDocs API References and the API references were sadly not sufficient in helping us.
Please assist us in finding a way to split up an E-Mail so that only the E-Mail text is converted (to PDF in our case) while the attachments are kept as original files. Is GroupDocs the right tool for this?
Thank you
Hello @DGeccelli ,
Thank you for your interest in our product.
To skip the conversion of email attachments, you need to set the EmailLoadOptions.setConvertOwned property to false.
Additionally, you can fully control both the load options for the email itself and its attachments using the LoadOptionsProvider. You can also manage their conversion behavior through the ConvertOptionsProvider. Please refer to the following article in our documentation for a more detailed explanation of how to use providers when converting emails.
If you have any further questions, please do not hesitate to contact us.