Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deleting mails/messages in an email program using VB
Message
De
17/01/2001 18:19:27
 
 
À
15/01/2001 01:39:38
Information générale
Forum:
Visual Basic
Catégorie:
Fonctions API de Windows
Divers
Thread ID:
00463660
Message ID:
00464959
Vues:
18
Hi Diane, are you using the MAPI interface ? (ie. from the CDO dll)
If you are using this interface then you should be able to navigate thru the Folders collection to find whichever folder you want, then go thru its Items collection to access individual emails.

You can use the Delete method to clear all emails in a folder collection, or get an individual email item and use the Delete method on that item only.

If you are using an interface to a specific email program, rather than the ms MAPI interface, then you will need to find the object model for that application. If you have an interface selected in your project's References, then you should be able to browse the objects & methods etc in the Object Browser (press F2 for fast access).

Hope this was somehow relevant.
Les
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform