How to use SplitInto Method

Hi,

I am trying to use SplitInto Method for a PST that is 3GB in C#
I am using the following:

using (PersonalStorage pst = PersonalStorage.FromFile(@":\test\source.pst"))
{
pst.SplitInto(5000000, @“D:\test\chunks”);
}

It makes about 10 chunks, then fails with the following error:
System.nullReferenceException 'Object reference not set tto any instance of an object.

Are there limits on the size/amount of PSTs you can split into.

Furthermore, I cannot find any references anymore to this methods, the code has been removed from the help pages.

Thanks in advance for your help.

@vdwyer,

Could you please share your sample PST file with us for further investigation at our end? The API reference guide of Aspose.Email contains information about the SplitInto method. You can also refer to API documentation for example in this regard.