Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deleting an email in Outlook 2K
Message
From
03/11/2000 18:25:18
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00437888
Message ID:
00437904
Views:
19
>>>I'm reading through the items() collection in outlook and saving attached files, etc. However, I'm not having much luck deleting the emails once they are processed. I would also like to know how to move them to another folder. Anyone out there got a few spare lines of code?< G >
>>
>>e.g., say, oItem is the e-mail item
>>oItem.Delete()
>>should do it.
>
>Now I remember why I was cussing the MS development team when I first started trying to surf the Outlook object model.
>
>Thanks,

Do you have VB installed?
I learned a lot of the Outlook automation I've done by creating a VB app, adding Outlook Object Library to the Project | References and examining the objects, etc., in the Object Browser.

It doesn't give you any examples, but it's usually not too hard to figure out.
Insanity: Doing the same thing over and over and expecting different results.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform