SetHtmlBody

MailMessage.SetHtmlBody method

Sets html body.

public virtual void SetHtmlBody(string value, bool detectEncoding)
Parameter Type Description
value String The HtmlBody content text.
detectEncoding Boolean Detect body encoding if no encoding is specified for the MailMessage.

See Also