Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Finding an email in outlook
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00284176
Message ID:
00284251
Vues:
13
For the Inbox you need:
oFolder = oNameSpace.GetDefaultFolder(6)

Iterate through the GetDefaultFolder from 3 to 16 to reference all Outlook folders.

>oOutlook = CREATEOBJECT("Outlook.Application")
>oNameSpace = oOutlook.GetNameSpace("MAPI")
>oFolder = oNameSpace.Folders(1)
>
>For some reason, this does not work:
>oFolder = oNameSpace.Folders("Inbox")
>
George
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform