Click or drag to resize

IMailSaveHtmlAs Method (String, Boolean)

Saves HTML version of the message as regular HTML file. When inlineVisuals is set to true: all visual elements are inlined using data: URI scheme, instead of being saved to disk. If the message is plain text only, this method uses GetBodyAsHtml to create HTML from plain text.

Namespace:  Limilabs.Mail
Assembly:  Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax
void SaveHtmlAs(
	string fileName,
	bool inlineVisuals
)

Parameters

fileName
Type: SystemString
Name of the resulting HTML file (e.g. "c:\\example\\email.html").
inlineVisuals
Type: SystemBoolean
Specifies if visuals should be inlined using data: URI scheme, or saved to disk.
See Also