This is how you fix the iPhone IMAP error “unable to move message to trash”
Go to Settings
Select Mail, Contacts, Calendars
Select the email account
In the box that says IMAP Path Prefix / change the / to say INBOX in all capital letters
It will now read IMAP Path Prefix INBOX
Try deleting the messages now. It should work.
If you have any questions, or would like assistance with this issue, please contact me here: