Skip to content

Instantly share code, notes, and snippets.

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;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment