MhtSaveOptions.CheckBodyContentEncoding

MhtSaveOptions.CheckBodyContentEncoding property

Defines whether need check message body content encoding when saving. By default the value is false.

public bool CheckBodyContentEncoding { get; set; }

Remarks

If true, it will be check whether the HtmlBody content encoding matches to the encoding specified by the BodyEncoding property. If the HtmlBody content encoding doesn’t match BodyEncoding property, the BodyEncoding and PreferredTextEncoding properties will be changed to default UTF8.

See Also