We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Modifying HTML BODY Properties- 3 part MIME message- multi byte- unicode

support agreement PO# 3003085890


Exchange creates an eml file that is comprised of a 3 part mime message. Part one is a text/plain which has a charset=<span style=“font-size:11.0pt;font-family:“Calibri”,“sans-serif”;
mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA”>iso-8859-1. Part two is a html section. Part three is a vcal section. The first part is incapable of storing multi byte characters. However, parts 2 and 3 are capable. The end result is that when creating a pst from this message, Outlook chooses part 1 of the mime message so we lose the multi byte chars.

we do a
message = MailMessage.load(emailFileName, MessageFormat.Eml);
message.Save(msgFileName, MailMessageSaveType.OutlookMessageFormatUnicode);

Is there a way to modify the PR_HTML_BODY property such that outlook will use part 2 instead of part 1?

something like PR_BODY_HTML = MIME html part (#2)

then wrap in a pst …

Hi John,

Thank you for using Aspose.Email.

Could you please provide us such a sample file so that we can investigate this issue and assist you further? We’ll look into it as soon as possible for your further assistance.

i have added the eml as requested.

Hi John,

I have answered your query on the Enterprise support forum HERE and will assist you further accordingly.