MailMessageSetHtmlBody Method

Sets html body.

Namespace:  Aspose.Email
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.3
Syntax
public virtual void SetHtmlBody(
	string value,
	bool detectEncoding
)

Parameters

value
Type: SystemString
The HtmlBody content text.
detectEncoding
Type: SystemBoolean
Detect body encoding if no encoding is specified for the MailMessage.
See Also