Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Outlook automation method
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00459181
Message ID:
00459193
Vues:
25
Hi Vidar

This will show you the first Email in the Inbox
oOutlook = GetObject(,"Outlook.Application")
oNameSpace = oOutlook.GetNameSpace("MAPI")
oExplorer = oOutlook.Explorers.Add(oNameSpace.Folders[1],0)
oExplorer.Activate()
oInbox = oNameSpace.GetDefaultFolder( 6 )
omyItem = oinbox.Items(1)
omyItem.Display
HTH
Markus
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform