Thanks. I've added the code, we'll see if it works. Just out of curiosity, I can see why it solves the problem in the thread you pointed to, but why/how would it solve the problem I'm seeing? If that's a dumb question then I apologize, this is the first time I've used IMAP