Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search for messages in shared folders

Status
Not open for further replies.

rcloutie

Programmer
May 26, 2005
164
CA
Hi all,

I'm using Delphi (via GW API) to extract messages from GroupWise.

Code:
vGWApp:=CreateOleObject('NovellGroupWareSession');        
vGWLog:=vGWApp.Login;        
sFind:='(MAIL) AND (BOX_TYPE=INCOMING)';

if bAllMsg then
   vGWFind := vGWLog.AllMessages.Find(sFind)
else
    vGWFind := vGWLog.MailBox.FindMessages(sFind);

All is working fine. Except one thing: shared folders (that is, someone else sharing one of his folders). In this situation, both methods (i.e. AllMessages.Find and MailBox.FindMessages - which, by the way, makes no sense to give two different name to methods doing almost the same thing... my two cents to the GW developer team...)

Is there any way to search in this kind of folders?

Thanks in advance
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top