Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Outlook
Message
De
14/12/2001 10:46:45
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
14/12/2001 09:41:28
Mario Felisbino
Construtora Andrade Gutierrez S/A
São Paulo, Brésil
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Titre:
Divers
Thread ID:
00594376
Message ID:
00594426
Vues:
25
>How to know how many messages have in my folders sent, inbox and others of Outlook Express?

I think Outlook express doesn't work with automation. For outlook you could do :
oOutlook = CREATEOBJECT( "Outlook.Application" )
oNameSpace = oOutlook.GetNameSpace('MAPI')
oInbox = oNameSpace.GetDefaultFolder( 6 )  && Inbox folder
for each loFolder in oInbox.Folders
 ? loFolder.Name, loFolder.Items.Count, loFolder.UnreadItemCount
endfor
oDeleted = oNameSpace.GetDefaultFolder( 3 )  && Deleted folder
oSent = oNameSpace.GetDefaultFolder( 5 )  && Sent folder
? oDeleted.Items.Count, oSent.Items.Count
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform