General information
Category:
COM/DCOM and OLE Automation
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only