Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Outlook subfolder access
Message
From
29/07/2003 10:14:44
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00814359
Message ID:
00814512
Views:
9
>I am using Outlook 2002 as my mail client and had a little problem with my mail, i formated my HD and lost every mail in my pst file. I am working in a little app to send to certain people to find all the mails sent by me to them and then send these emails to me so i can have a copy of them, the problem I have is that I can't acces the subfolder in the Inbox folder. I tried 'Inbox\SubFolder' but doesn't work, could you guys please help me on this one. it is really important to me
>

The way you get to a subfolder is to start with the original folder itself, and then drill down through the Folders collection:

oInbox = oNameSpace.GetDefaultFolder(olInbox)
FOR EACH oFolder IN oInbox.Folders
* Do something with oFolder
ENDFOR

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform