Hi. There is a problem with a conversion of specific EML files to any other format on Linux which results in an unhandled(uncatchable) exception which crashes the whole process.
Exception: Screenshot 2021-09-12 194133.png (161.4 KB)
Test EML: test.7z (9.9 KB)
Conversion code is straight forward
using var sourceStream = new MemoryStream(source);
var loadOptions = new EmailLoadOptions
{
ConvertOwner = true,
ConvertOwned = true,
Depth = 2
};
using var converter = new Converter(() => sourceStream, () => loadOptions);
var pdfOptions = new PdfConvertOptions();
var outputStreams = new List<MemoryStream>();
converter.Convert(() => new MemoryStream(), resultStream =>
{
var outputStream = new MemoryStream();
resultStream.CopyTo(outputStream);
outputStreams.Add(outputStream);
}, pdfOptions);
Online conversion is not working as well Online EML to PDF Converter | Free GroupDocs Apps
Ubuntu 20, .NET 5, GroupDocs.Conversion 21.8.0