MailMessage.SetHtmlBody

MailMessage.SetHtmlBody method

Sets html body.

public virtual void SetHtmlBody(string value, bool detectEncoding)
ParameterTypeDescription
valueStringThe HtmlBody content text.
detectEncodingBooleanDetect body encoding if no encoding is specified for the MailMessage.

See Also