Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
using (Viewer viewer = new Viewer("sample.msg"))
{
// The file path format e.g. 'page_{0}.html'
string filePathFormat = "page-{0}.html";
HtmlViewOptions options = HtmlViewOptions.ForEmbeddedResources(filePathFormat);
options.EmailOptions.PageSize = PageSize.A4;
viewer.View(options);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.