J
Jack
I have an application that will scan the folder list (looks 4 levels deep)
for either a folder name or a DefaultMessageClass. This performs very well
when run against a local pst file or even an Exchange server that is local.
Where it encounters performance issues is the following scenario:
Exchange server with attached shared mailboxes and the Exchange server is
not local, it is hosted across the Internet. Since the shared folders are
not cached when the program scans the folders it encounters delays in
getting responses from the server. Basically how I am scanning is via
nested for loops where the outmost is for i=1 to
ObjOUtlook.session.folders.count and each inner loop uses a mapifolder
object to get the list of folders to scan
The question is there a more efficient way to look for folders that have a
certain DefaultMessageClass or is there a more efficient way to deal with
shared folders.
Thanks,
Jack
for either a folder name or a DefaultMessageClass. This performs very well
when run against a local pst file or even an Exchange server that is local.
Where it encounters performance issues is the following scenario:
Exchange server with attached shared mailboxes and the Exchange server is
not local, it is hosted across the Internet. Since the shared folders are
not cached when the program scans the folders it encounters delays in
getting responses from the server. Basically how I am scanning is via
nested for loops where the outmost is for i=1 to
ObjOUtlook.session.folders.count and each inner loop uses a mapifolder
object to get the list of folders to scan
The question is there a more efficient way to look for folders that have a
certain DefaultMessageClass or is there a more efficient way to deal with
shared folders.
Thanks,
Jack