MailboxConverterConvertPersonalStorageToMbox Method (PersonalStorage, MboxStorageWriter, MessageAcceptanceCallback)

Converts the PersonalStorage to mbox format using given MboxStorageWriter.

Namespace:  Aspose.Email.Storage
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.3
Syntax
public static void ConvertPersonalStorageToMbox(
	PersonalStorage personalStorage,
	MboxStorageWriter mboxStorageWriter,
	MessageAcceptanceCallback acceptanceCallback
)

Parameters

personalStorage
Type: Aspose.Email.Storage.PstPersonalStorage
The personal storage.
mboxStorageWriter
Type: Aspose.Email.Storage.MboxMboxStorageWriter
The mbox storage writer.
acceptanceCallback
Type: Aspose.EmailMessageAcceptanceCallback
The acceptance callback, can be null.
Exceptions
ExceptionCondition
ArgumentNullExceptionIf personalStorage is null.
ArgumentNullExceptionIf 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