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=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 …