>>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.
oh, yeah, moving it...
You need to get an object reference to the folder you want to move it to.
e.g. assuming you have a reference to the Inbox already, called oInbox,
and you know the folder is called "Moved From Inbox" and it's in the same Mailbox as Inbox...
oMoved = oInbox.Parent.Folders("Moved From Inbox")
oItem.Move(oMoved)
Insanity: Doing the same thing over and over and expecting different results.