Information générale
Catégorie:
COM/DCOM et 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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement