Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deleting mails/messages in an email program using VB
Message
From
17/01/2001 18:19:27
 
 
To
15/01/2001 01:39:38
General information
Forum:
Visual Basic
Category:
Windows API functions
Miscellaneous
Thread ID:
00463660
Message ID:
00464959
Views:
19
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform