Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Marking Outlook messages as read
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Marking Outlook messages as read
Divers
Thread ID:
00453665
Message ID:
00453665
Vues:
68
Hi,

I am trying to mark my Outlook messages as read. I am using the "Unread" property from the "Item" object, but it is not working. is there another method to do that? I am using the following code:
oNamespace = oOutlook.GetNamespace("MAPI")

oFolders = oNamespace.Folders()

FOR EACH oMAPIFolder IN oFolders

  oMAPIFolders = oMAPIFolder.Folders()
  FOR EACH oFolder IN oMAPIFolders
    oItens = oFolder.items
    FOR EACH oItem IN oItens
      oItem.UnRead = .F.
    NEXT
  NEXT

NEXT
Thanks!
-----
Fabio Vazquez
http://www.fabiovazquez.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform