MSG-to-PDF Multiple exceptions when rendering MSG with HTML bodies

Hello GroupDocs Support,

We encounter the following exception when rendering an Outlook .msg file to PDF using GroupDocs.Viewer:

System.NotImplementedException:
How to process DelimToken with '&' delim char?

Environment

  • Windows
  • .NET Framework 4.8
  • GroupDocs.Viewer 26.8.0
  • GroupDocs.Viewer.Net462 26.8.0
  • Input: .msg exported from Microsoft Outlook
  • Output: PDF

Scenario

Our application extracts an email from Outlook as a .msg file and uses GroupDocs.Viewer to generate a PDF for preview. We retain the original .msg to access its email metadata and attachments.

Rendering the supplied message triggers the exception above.

Steps to reproduce

  1. Load the attached .msg file using GroupDocs.Viewer.
  2. Render it to PDF using PdfViewOptions .
  3. Observe the exception during rendering.

Application call stack

viewer.View(new PdfViewOptions());

Expected result

The email should render to PDF, including its headers and body, without an exception.

Questions

  • Can you reproduce this exception with the attached message?
  • Is this a known issue, and is a fix available in a later release or hotfix?
  • Is there a supported rendering option or workaround that preserves the email’s content and formatting without modifying the original .msg ?

Sample file to attach

7a92dc72-1438-402a-9b31-986aed794bfb.7z (21.0 KB)

Thank you.

1 Like

@ambdev

Hi Pedro,

Thank you for reaching us and attaching a file. Yes, I confirm that we can reproduce the same exception as you have described. This is a bug inside a GroupDocs.Viewer. We will fix it in the next version 26.10 that will be released at the end of this month. I’l inform you when the version 26.10 will be ready for download.

Sorry for the inconvenience and with best regards,
Denis Gvardionov

@ambdev

Hi Pedro,

Just want to notify you that GroupDocs.Viewer 26.10 was released today, and this version contains a fix for the discussed bug with exception when rendering Email documents.

With best regards,
Denis Gvardionov

Hello Denis.

Now we are getting another exception:

'System.InvalidOperationException' en GroupDocs.Viewer.dll 'Unsupported start tag with name 'small' and 1 attributes 'style="font-size:12px; line-height: 150%; color:#0E0F10; "' has occured at position (29153-29214): '<small style="font-size:12px;line-height:150%;color:#0e0f10;">''

So issues still there, and we are moving from one to another. Please reopen this matter as it’s not solved yet. I changed the title to address the issue more broadly.

Segurança Social - newsletter cidadãos novembro 2026.zip (82.4 KB)

Regards.