Mail storage converter provides services for storage conversion operations. More...
Inherits Object.
Public Types | |
using | MailHandler = System::MulticastDelegate< void(System::SharedPtr< MailMessage >)> |
Represents the method that will handle an event that occurs after successfully reading a message from the Mbox and before adding it to Pst. More... | |
Public Member Functions | |
MailStorageConverter ()=delete | |
Static Public Member Functions | |
static System::SharedPtr< EmlLoadOptions > | get_MboxMessageOptions () |
Gets email load options when parsing an Mbox storage. More... | |
static void | set_MboxMessageOptions (System::SharedPtr< EmlLoadOptions > value) |
Sets email load options when parsing an Mbox storage. More... | |
static System::SharedPtr< Pst::PersonalStorage > | MboxToPst (System::String mboxFileName, System::String pstFileName) |
Converts an Mbox storage to PST. More... | |
static System::SharedPtr< Pst::PersonalStorage > | MboxToPst (System::String mboxFileName, System::String pstFileName, MailStorageConverter::MailHandler mailHandler) |
Converts an Mbox storage to PST. More... | |
static System::SharedPtr< Pst::PersonalStorage > | MboxToPst (System::SharedPtr< System::IO::Stream > mboxrdDataStream, System::String pstFileName) |
Converts an Mbox storage to PST. More... | |
static System::SharedPtr< Pst::PersonalStorage > | MboxToPst (System::SharedPtr< System::IO::Stream > mboxrdDataStream, System::String pstFileName, MailStorageConverter::MailHandler mailHandler) |
Converts an Mbox storage to PST. More... | |
static System::SharedPtr< Pst::PersonalStorage > | MboxToPst (System::String mboxFileName, System::SharedPtr< System::IO::Stream > pstDataStream) |
Converts an Mbox storage to PST. More... | |
static System::SharedPtr< Pst::PersonalStorage > | MboxToPst (System::String mboxFileName, System::SharedPtr< System::IO::Stream > pstDataStream, MailStorageConverter::MailHandler mailHandler) |
Converts an Mbox storage to PST. More... | |
static System::SharedPtr< Pst::PersonalStorage > | MboxToPst (System::SharedPtr< System::IO::Stream > mboxrdDataStream, System::SharedPtr< System::IO::Stream > pstDataStream) |
Converts an Mbox storage to PST. More... | |
static System::SharedPtr< Pst::PersonalStorage > | MboxToPst (System::SharedPtr< System::IO::Stream > mboxrdDataStream, System::SharedPtr< System::IO::Stream > pstDataStream, MailStorageConverter::MailHandler mailHandler) |
Converts an Mbox storage to PST. More... | |
static void | MboxToPst (System::SharedPtr< Mbox::MboxStorageReader > mboxStorageReader, System::SharedPtr< Pst::PersonalStorage > pst, System::String pstFolderName, MailStorageConverter::MailHandler mailHandler) |
Converts an Mbox storage to PST. More... | |
static System::SharedPtr< Pst::PersonalStorage > | MboxToPst (System::String mboxFileName, System::String pstFileName, System::SharedPtr< MboxToPstConversionOptions > options) |
Converts an Mbox storage to PST. More... | |
static System::SharedPtr< Pst::PersonalStorage > | MboxToPst (System::SharedPtr< System::IO::Stream > mboxrdDataStream, System::SharedPtr< System::IO::Stream > pstDataStream, System::SharedPtr< MboxToPstConversionOptions > options) |
Converts an Mbox storage to PST. More... | |
static void | MboxToPst (System::SharedPtr< Mbox::MboxStorageReader > mboxStorageReader, System::SharedPtr< Pst::PersonalStorage > pst, System::String pstFolderName, System::SharedPtr< MboxToPstConversionOptions > options) |
Converts an Mbox storage to PST. More... | |
Mail storage converter provides services for storage conversion operations.
using Aspose::Email::Storage::MailStorageConverter::MailHandler = System::MulticastDelegate<void(System::SharedPtr<MailMessage>)> |
|
delete |
|
static |
Gets email load options when parsing an Mbox storage.
The EmlLoadOptions that specifies load options.
|
static |
Converts an Mbox storage to PST.
mboxStorageReader | An MboxStorageReader that represents an mbox-based mail storage reader. |
pst | A PersonalStorage that represents a pst storage. |
pstFolderName | The folder name, at the root of the pst, where Mbox messages will be added. If this folder doesn't exist, it will be created. If the folder exists and isn't empty, new messages will be added to the existing ones. |
mailHandler | The MailHandler delegate is called for each message that is read from Mbox. |
ArgumentNullException | If mboxStorageReader is null. |
ArgumentNullException | If pst is null. |
|
static |
Converts an Mbox storage to PST.
mboxStorageReader | An MboxStorageReader that represents an mbox-based mail storage reader. |
pst | A PersonalStorage that represents a pst storage. |
pstFolderName | The folder name, at the root of the pst, where Mbox messages will be added. If this folder doesn't exist, it will be created. If the folder exists and isn't empty, new messages will be added to the existing ones. |
options | An MboxToPstConversionOptions additional options when converting from Mbox to PST |
|
static |
Converts an Mbox storage to PST.
mboxrdDataStream | A Stream that represents data in Mbox format. |
pstDataStream | A Stream that represents data in Pst format. |
ArgumentNullException | If mboxrdDataStream is null. |
ArgumentNullException | If pstDataStream is null. |
|
static |
Converts an Mbox storage to PST.
mboxrdDataStream | A Stream that represents data in Mbox format. |
pstDataStream | A Stream that represents data in Pst format. |
mailHandler | The MailHandler delegate is called for each message that is read from Mbox. |
ArgumentNullException | If mboxrdDataStream is null. |
ArgumentNullException | If pstDataStream is null. |
|
static |
|
static |
Converts an Mbox storage to PST.
ArgumentNullException | If mboxrdDataStream is null. |
ArgumentException | If pstFileName is null or empty. |
In addition the same set of exceptions can be thrown as for FileStream creation using the open/read, create/write mode.
|
static |
Converts an Mbox storage to PST.
mboxrdDataStream | A Stream that represents data in Mbox format. |
pstFileName | PST file name. |
mailHandler | The MailHandler delegate is called for each message that is read from Mbox. |
ArgumentNullException | If mboxrdDataStream is null. |
ArgumentException | If pstFileName is null or empty. |
In addition the same set of exceptions can be thrown as for FileStream creation using the open/read, create/write mode.
|
static |
Converts an Mbox storage to PST.
ArgumentException | If mboxFileName is null or empty. |
ArgumentNullException | If pstDataStream is null. |
In addition the same set of exceptions can be thrown as for FileStream creation using the open/read, create/write mode.
|
static |
Converts an Mbox storage to PST.
mboxFileName | Mbox file name. |
pstDataStream | A Stream that represents data in Pst format. |
mailHandler | The MailHandler delegate is called for each message that is read from Mbox. |
ArgumentException | If mboxFileName is null or empty. |
ArgumentNullException | If pstDataStream is null. |
In addition the same set of exceptions can be thrown as for FileStream creation using the open/read, create/write mode.
|
static |
Converts an Mbox storage to PST.
mboxFileName | Mbox file name. |
pstFileName | PST file name. |
ArgumentException | If mboxFileName is null or empty. |
ArgumentException | If pstFileName is null or empty. |
In addition the same set of exceptions can be thrown as for FileStream creation using the open/read, create/write mode.
|
static |
Converts an Mbox storage to PST.
mboxFileName | Mbox file name. |
pstFileName | PST file name. |
mailHandler | The MailHandler delegate is called for each message that is read from Mbox. |
ArgumentException | If mboxFileName is null or empty. |
ArgumentException | If pstFileName is null or empty. |
In addition the same set of exceptions can be thrown as for FileStream creation using the open/read, create/write mode.
|
static |
Converts an Mbox storage to PST.
mboxFileName | Mbox file name. |
pstFileName | PST file name. |
options | An MboxToPstConversionOptions additional options when converting from Mbox to PST |
|
static |
Sets email load options when parsing an Mbox storage.
The EmlLoadOptions that specifies load options.