Save as .OFT

Hello,
There is a sample here to save as .OFT:

When saving as .OFT, is it recommended to set
SaveOptions.DefaultOft
or
MailMessageSaveType.OutlookMessageFormatUnicode with MySaveOptions.SaveAsTemplate = True
Because OFT is same as msg with editable/draft tag

@australian.dev.nerds

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

@australian.dev.nerds

Regarding EMAILNET-40680, please use the following code example to convert MSG to OFT.

var msg = MapiMessage.Load(@"test.msg");
msg.SaveAsTemplate(@"test.oft");

MapiMessage.SaveAsTemplate method saves to the specified file as Outlook File Template(OFT format).

Please also read Saving Outlook MSG file as Template.

Hello and thanks for the info.
When MyMessage is in Aspose.Email.MailMessage Eml format, is this fine?

Dim MyOptions = New MsgSaveOptions(MailMessageSaveType.OutlookMessageFormatUnicode)
MyOptions.PreserveOriginalDates = True
MyOptions.PreserveSignature = True
MyOptions.SaveAsTemplate = True

MyMessage.Save(“output.oft”, MyOptions)

@australian.dev.nerds

Yes, you can use the shared code example. Please let us know if you face any issue with your files.