>>>>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.
Yeah, I learned it that way too, I just forgot that you couldn't surf down the model. You have to create another reference to delete. I was even using the Tech Preview of VFP7 and it wasn't happening. Thanks again for the help.
John Harvey
Shelbynet.com
"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright