Aspose::Email::Mapi::InlineAttachmentExtractor Class Reference

Provides ability to extract files from MSO packages. Can be used to process "oledata.mso" and similar files typically attached to messages created using Outlook. More...

Inherits Object.

Public Member Functions

 InlineAttachmentExtractor ()=delete
 

Static Public Member Functions

static System::SharedPtr< System::Collections::Generic::IDictionary< System::String, System::ArrayPtr< uint8_t > > > EnumerateMsoPackage (System::SharedPtr< System::IO::Stream > stream)
 Enumerates the MSO package and returns a dictionary containing files data. The key is file identifier and value contains actual data.Files are usually referenced in message body using the identifiers provided. More...
 

Detailed Description

Provides ability to extract files from MSO packages. Can be used to process "oledata.mso" and similar files typically attached to messages created using Outlook.

Constructor & Destructor Documentation

◆ InlineAttachmentExtractor()

Aspose::Email::Mapi::InlineAttachmentExtractor::InlineAttachmentExtractor ( )
delete

Member Function Documentation

◆ EnumerateMsoPackage()

static System::SharedPtr<System::Collections::Generic::IDictionary<System::String, System::ArrayPtr<uint8_t> > > Aspose::Email::Mapi::InlineAttachmentExtractor::EnumerateMsoPackage ( System::SharedPtr< System::IO::Stream >  stream)
static

Enumerates the MSO package and returns a dictionary containing files data. The key is file identifier and value contains actual data.Files are usually referenced in message body using the identifiers provided.

Parameters
streamThe stream to parse.
Returns
Dictionary with files data.
Exceptions
ArgumentNullExceptionIf stream is null.
InvalidDataExceptionIf given stream has data in incorrect format.

While in evaluation mode only one file is extracted from given MSO stream.