Hi, I've not been working on this in months and I've just come back to this project.

As above I've got this working to the point where it matches one mail item and marks it unread but still after fair bit of messing around haven't managed to get to the point where it will move the mail item to the "Closed" folder. I did try this but it didn't work. it might be worth saying that this is all working on a shared mailbox.

Also when I come to use the above code to process a whole folder, where abouts will that sit with the rest of the code?

Thanks again

John