Sounds like that would only work if my deleted mailbox was on the server and if I set it up that way the deleted emails would still end up being moved to the trash on my server. I need them to remain in my servers inbox and only be deleted from my phone.
Ok so I have been playing with this for several days now and for some onkown reason it's working the way I want now. It would be nice to be able to delete all emails at once but at least I'm not getting the error message anymore. Thanks for all your replies.