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

Free Support Forum - aspose.com

Convert HTML to OFT

Is the following example still valid?

DefaultOft doesn’t seem to be a member of SaveOptions

@support-1

We have logged a ticket as EMAILNET-40822 for this issue in our issue tracking system. We will inform you once there is an update available on it. We apologize for your inconvenience.

@support-1

Please use the following code example to convert HTML to OFT. Hope this helps you.

MapiMessage.FromMailMessage(
    MailMessage.Load(@"source.html", new HtmlLoadOptions()))
    .SaveAsTemplate(@"template.oft");

I kind of worked that on my own, it would have saved me some time if that were the code in your docs.

@support-1

We are sorry for your inconvenience. We will add the article for this case in documentation.