Issue in MhtSaveOptions

Loading some .msg files to save as .mht will throw NullRefrenceException, sample project to reproduce the error is attached: (361.9 KB)

  • Seems the root of issue is from MhtFormatOptions.RenderTaskFields
    Internally, if we set MhtFormatOptions enums to format the target Mht, and one is not approperiate to the source msg (ie RenderTaskFields for a IPM.Contact Msg) it should be ignored instead of throwing exception.

  • A feature was requested to add RenderTaskFields to the HtmlSaveOptions so we can save in both Mht and Htm the same, no idea if added for the upcoming 23.1 build or not, but if it’s already added, it might suffer from the same issue.

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): EMAILNET-40944

You can obtain Paid Support services if you need support on a priority basis, along with the direct access to our Paid Support management team.

1 Like

Hi, bug fixed, HtmlSaveOptions.RenderTaskFields didn’t find :slight_smile:

EMAILNET-40960 Add HtmlFormatOptions.RenderTaskFields is not resolved yet.