Free Support Forum - aspose.com

Not getting all emails from PST file?

I’m currently evaluating this product for .NET. For some reason, the following code is only returning 50 messages from a particular PST file even though there are definitely 125 emails as shown in Outlook and two other competing products:

Dim pst = PersonalStorage.FromFile(txtFile.Text)
Dim folder As FolderInfo = pst .GetFolder(“Inbox”)
For Each msg As MessageInfo In folder.GetContents
debug.print(msg.subject)
Next

Is this a limitation in the trial version or is this a bug? Hard to believe this would be a bug for such a mature product. Any help would be appreciated.

Hi,


Yes, this is actually a trial version limitation that you can get only 50 messages from a folder in the PST file. For getting all the messages, a valid license is required.

Please refer to http://www.aspose.com/corporate/purchase/temporary-license.aspx for getting a 30 days free temporary license for evaluating the product.

Tried that, but it seems like an endless loop telling me before I can request a temporary license, you need to know what platform I’m on, etc. How do I order a temporary license?