Click or drag to resize
EmailHtmlModifier Constructor
Constructor. If any errors occurred while parsing input htmlCode, they will be stored in ParsingErrors.

Namespace: CMS.Newsletters.Internal
Assembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 11.0.0
Syntax
C#
public EmailHtmlModifier(
	string htmlCode,
	bool isFragment
)

Parameters

htmlCode
Type: SystemString
Input HTML code.
isFragment
Type: SystemBoolean
Indicates if the input HTML code is just a fragment, not complete document.
Exceptions
ExceptionCondition
ArgumentExceptionThrown when htmlCode is null or empty.
See Also