Skip to content

Instantly share code, notes, and snippets.

@aspose-com-gists
Last active May 12, 2022 06:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aspose-com-gists/b5b6d7456ef5ecc7ea9850696087c636 to your computer and use it in GitHub Desktop.
Save aspose-com-gists/b5b6d7456ef5ecc7ea9850696087c636 to your computer and use it in GitHub Desktop.
Convert OFT to HTML in C# .NET
// Load the OFT file to be converted
var message = MailMessage.Load("Email.oft");
// Save OFT as a HTML
message.Save("output.html", SaveOptions.DefaultHtml);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment