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

Free Support Forum - aspose.com

MboxStorageReader..ExtractMessage(Stream, Save or Load Options?)

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?

@australian.dev.nerds

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.

@australian.dev.nerds

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());
}