MailMessage.SetHtmlBody
MailMessage.SetHtmlBody method
Sets the HTML body, optionally detecting its encoding.
public virtual void SetHtmlBody(string value, bool detectEncoding)
| Parameter | Type | Description |
|---|---|---|
| value | String | The HTML body. |
| detectEncoding | Boolean | true to detect the encoding from the content when the message has none set. |
See Also
- class MailMessage
- namespace Aspose.Email
- assembly Aspose.Email