MailboxConverter.ConvertPersonalStorageToMbox
Contents
[
Hide
]ConvertPersonalStorageToMbox(PersonalStorage, string, MessageAcceptanceCallback)
Converts the PersonalStorage
to mbox format using given path.
public static void ConvertPersonalStorageToMbox(PersonalStorage personalStorage,
string storagePath, MessageAcceptanceCallback acceptanceCallback)
Parameter | Type | Description |
---|---|---|
personalStorage | PersonalStorage | The personal storage. |
storagePath | String | The path to save personalStorage structure to. |
acceptanceCallback | MessageAcceptanceCallback | The acceptance callback, can be null. |
Exceptions
exception | condition |
---|---|
ArgumentNullException | If personalStorage is null. |
ArgumentNullException | If storagePath is null. |
Remarks
Resulting folder will contain an exact copy of the personalStorage e.g. directory tree will be recreated on disk.
See Also
- class PersonalStorage
- delegate MessageAcceptanceCallback
- class MailboxConverter
- namespace Aspose.Email.Storage
- assembly Aspose.Email
ConvertPersonalStorageToMbox(PersonalStorage, MboxStorageWriter, MessageAcceptanceCallback)
Converts the PersonalStorage
to mbox format using given MboxStorageWriter
.
public static void ConvertPersonalStorageToMbox(PersonalStorage personalStorage,
MboxStorageWriter mboxStorageWriter, MessageAcceptanceCallback acceptanceCallback)
Parameter | Type | Description |
---|---|---|
personalStorage | PersonalStorage | The personal storage. |
mboxStorageWriter | MboxStorageWriter | The mbox storage writer. |
acceptanceCallback | MessageAcceptanceCallback | The acceptance callback, can be null. |
Exceptions
exception | condition |
---|---|
ArgumentNullException | If personalStorage is null. |
ArgumentNullException | If mboxStorageWriter is null. |
Remarks
Resulting mbox storage will contain only one plain inbox folder with all messages, if you have to preserve the original structure of the storage, use XXX_method instead.
See Also
- class PersonalStorage
- class MboxStorageWriter
- delegate MessageAcceptanceCallback
- class MailboxConverter
- namespace Aspose.Email.Storage
- assembly Aspose.Email