Hello,
As title speaks for itself:
MboxStorageReader…ExtractMessage(Stream, here we should have SaveOptions and not LoadOptions, to conform with other similar functions in Aspose! Am I right?
Please use SaveOptions while saving messages.
Unfortunately, we did not get your requirement from this thread title. Could you please share complete detail of your use case? We will then answer your query according to your requirement.
Please use the load options as shown in following code example for ExtractMessage
method.
MboxStorageReader reader = MboxStorageReader.CreateReader("my.mbox", new MboxLoadOptions());
foreach (MboxMessageInfo msgInfo in reader.EnumerateMessageInfo())
{
MailMessage eml = reader.ExtractMessage(msgInfo.EntryId, new EmlLoadOptions());
}