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:
.msgexported 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
- Load the attached
.msgfile using GroupDocs.Viewer. - Render it to PDF using
PdfViewOptions. - 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.