RenderOptionsEmailOptions Property
The Email documents rendering options.

Namespace: GroupDocs.Viewer.Converter.Options
Assembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 19.5
Syntax
public EmailOptions EmailOptions { get; set; }

Property Value

Type: EmailOptions
The Email options.
Examples
The following example demonstrates how to set Email document rendering options.
C#
ViewerConfig config = new ViewerConfig();
ViewerHtmlHandler htmlHandler = new ViewerHtmlHandler(config);
string guid = @"C:\storage\document-with-attachments.msg";

HtmlOptions options = new HtmlOptions();
options.EmailOptions.Encoding = Encoding.UTF8;

List<PageHtml> pages = htmlHandler.GetPages(guid, options);
See Also