MSG to PDF conversion on .NET

Hi!

I use the evaluated version of GroupDocs.Conversion on .Net7 and during MSG to PDF conversion the message body of the .msg file is missing in the result pdf file. Could you please approve that this is just the evaluated version restriction and not the separate bug?

@atsar0621

In order to investigate this issue at our end, we need the problematic/source and output files. Please share the conversion code as well.
However, these are the evaluation limitations.

Hello @atir.tahir !

Thank you for your reply

Here is the code example we are using to convert MSG to PDF

using GroupDocs.Conversion;
using GroupDocs.Conversion.Options.Convert;
using GroupDocs.Conversion.Options.Load;
using Microsoft.VisualBasic;

using (var originalStream = new FileStream(Constants.PathToMsgFile, FileMode.Open, FileAccess.Read))
{
var getLoadOptions = () => new EmailLoadOptions
{
ConvertOwned = false,
};

using (var converter = new Converter(() => originalStream, getLoadOptions))
{
    converter.Convert(() => new MemoryStream(),
            async (sourceFileName, convertedFileType, convertedStream)
                =>
            {
                using var fs = File.Create(Constants.PathToPdfFile);

                await convertedStream.CopyToAsync(fs);
            },
            new PdfConvertOptions());
}

}
And below in attachments you can find zip archive with both source and output files
testplagin10.zip (816.8 KB)

1 Like

@atsar0621

We could reproduce this issue only if license is not applied. Please avail a temporary license to evaluate the API functionalities. There are evaluation limitations like we mentioned earlier.

1 Like

@atir.tahir Thank you for investigation)

@atsar0621

You are welcome.