Using the mail message here and the code below, the resulting HTML file is prepended with the UTF-8 BOM header. Is there a way to prevent Aspose.Email from prepending the BOM header to the output file (I tried with CheckBodyContentEncoding true and false, no difference)
MailMessage mailMessage = MailMessage.Load(from);
HtmlSaveOptions options = new HtmlSaveOptions
{
CheckBodyContentEncoding = true,
MailMessageSaveType = MailMessageSaveType.HtmlFormat,
ResourceRenderingMode = ResourceRenderingMode.EmbedIntoHtml
};
mailMessage.Save(toHtml, options);
thanks
Uriel