Skip to content

Commit

Permalink
VIEWERNET-4785 - Cannot load corrupted or damaged MSG with attachment…
Browse files Browse the repository at this point in the history
… with GroupDocsViewerException is thrown
  • Loading branch information
denis-gvardionov committed Apr 2, 2024
1 parent ab77cc7 commit 2be2d49
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ static void Main()

RetrieveAndPrintDocumentAttachments.Run();
RetrieveAndSaveDocumentAttachments.Run();
//RenderDocumentAttachments.Run();
RenderDocumentAttachments.Run();

#endregion

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public static void Main(string[] args)

RetrieveAndPrintDocumentAttachments.Run();
RetrieveAndSaveDocumentAttachments.Run();
//RenderDocumentAttachments.Run();
RenderDocumentAttachments.Run();

#endregion

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ public static void Run()
{
MemoryStream attachmentStream = new MemoryStream();
viewer.SaveAttachment(attachment, attachmentStream);
attachmentStream.Position = 0;

RenderAttachment(attachment, attachmentStream, outputDirectory);
}
Expand Down

0 comments on commit 2be2d49

Please sign in to comment.