MboxToPst

MailStorageConverter.MboxToPst method (1 of 4)

Converts an mboxrd message store to PST.

public static PersonalStorage MboxToPst(string mboxFileName, string pstFileName)
Parameter Type Description
mboxFileName String Name of the mbox file.
pstFileName String Name of the PST file.

Return Value

Personal storage object that represents the converted storage.

Exceptions

exception condition
ArgumentNullException If 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


MailStorageConverter.MboxToPst method (2 of 4)

Converts an mboxrd message store to PST.

public static PersonalStorage MboxToPst(string mboxFileName, string pstFileName, 
    MailHandler mailHandler)
Parameter Type Description
mboxFileName String Name of the mbox file.
pstFileName String Name of the PST file.
mailHandler MailHandler The delegate called on each message

Return Value

Personal storage object that represents the converted storage.

Exceptions

exception condition
ArgumentNullException If 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


MailStorageConverter.MboxToPst method (3 of 4)

Converts an mboxrd message store to PST.

public static PersonalStorage MboxToPst(Stream mboxrdDataStream, string pstFileName)
Parameter Type Description
mboxrdDataStream Stream The mboxrd data stream.
pstFileName String Name of the PST file.

Return Value

Personal storage object that represents the converted storage.

Exceptions

exception condition
ArgumentNullException If mboxrdDataStream is null.
ArgumentNullException If pstFileName is null or empty.

See Also


MailStorageConverter.MboxToPst method (4 of 4)

Converts an mboxrd message store to PST.

public static PersonalStorage MboxToPst(Stream mboxrdDataStream, string pstFileName, 
    MailHandler mailHandler)
Parameter Type Description
mboxrdDataStream Stream The mboxrd data stream.
pstFileName String Name of the PST file.
mailHandler MailHandler The delegate called on each message

Return Value

Personal storage object that represents the converted storage.

Exceptions

exception condition
ArgumentNullException If mboxrdDataStream is null.
ArgumentNullException If pstFileName is null or empty.

See Also