Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET Objects

 AfterLogic Forum : MailBee.NET Objects
Subject Topic: Easy way of getting the mailbox root? Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
softwareguy
Newbie
Newbie


Joined: 17 July 2010
Location: United States
Online Status: Offline
Posts: 22
Posted: 17 July 2010 at 2:42pm | IP Logged Quote softwareguy

When using PstReader.GetPstRootFolders, it returns all folders even outside of the "Top of..." folder, indicating the top of the MailBox. I have seen other components provide a "helper function" called something like "MailBoxRoot", which starts at the first "\", so for example, if the PST has:

Search Root
IPM_COMMON_VIEWS
Top of Outlook Data File
Top of Outlook Data File\Inbox
Top of Outlook Data File\Deleted Items

It will only return:

Inbox
Deleted Items

This is a very nice and useful feature. I realize I could just do some of my own parsing and look for the first "\", but it would be nice for a built in method.
Back to Top View softwareguy's Profile Search for other posts by softwareguy
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide