MailStorageConverterMboxToPst Method (String, String, MailStorageConverterMailHandler)

Converts an mboxrd message store to PST.

Namespace:  Aspose.Email.Storage
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.3
Syntax
public static PersonalStorage MboxToPst(
	string mboxFileName,
	string pstFileName,
	MailStorageConverterMailHandler mailHandler
)

Parameters

mboxFileName
Type: SystemString
Name of the mbox file.
pstFileName
Type: SystemString
Name of the PST file.
mailHandler
Type: Aspose.Email.StorageMailStorageConverterMailHandler
The delegate called on each message

Return Value

Type: PersonalStorage
Personal storage object that represents the converted storage.
Exceptions
ExceptionCondition
ArgumentNullExceptionIf mboxFileName is null.
Remarks
In addition the same set of exceptions can be thrown as for FileStream creation using the open/read, create/write mode.
See Also